latexandmore/IDB/braindump_SS16/Makefile

20 lines
490 B
Makefile

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