makefile for RK

This commit is contained in:
Sheppy 2017-02-10 13:25:07 +01:00
parent 7794e6ec51
commit 4b3b06f5b5

19
RK/Makefile Normal file
View File

@ -0,0 +1,19 @@
all: KlausurLV_SS14_September2014.tex KlausurLV_WS1415_Maerz2015.tex
continuous: $(PDF).continuous
clean: cleanup rmpdf all
rmpdf:
@-rm -f *.pdf
cleanup:
@-rm -f *.aux *.fdb_latexmk *.fls *.log
%.continuous: %.pdf
@latexmk -quiet -jobname=$(@:%.continuous=%) -pvc -pdf $(@:%.continuous=%).tex
%.pdf: %.tex
@latexmk -quiet -jobname=$(@:%.pdf=%) -pdf -halt-on-error $< 1>/dev/null
.PHONY: all continuous cleanup single clean rmpdf