latexandmore/RK/Makefile

20 lines
445 B
Makefile
Raw Normal View History

2017-02-10 13:25:07 +01:00
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