latexandmore/IDB/braindump_SS16/Makefile

20 lines
490 B
Makefile
Raw Normal View History

all: Braindump_SS16.pdf solutions
solutions:
@pdflatex --jobname=Braindump_SS16_ML "\def\withsolutions{1} \input{Braindump_SS16.tex}"
2017-01-28 22:04:27 +01:00
continuous: $(PDF).continuous
clean: cleanup all
2017-01-28 22:04:27 +01:00
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 solutions