2017-02-15 00:05:43 +01:00
|
|
|
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
|
|
|
|
|
2017-02-08 16:08:54 +01:00
|
|
|
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
|
2017-02-15 23:24:28 +01:00
|
|
|
@latexmk -jobname=$(@:%.pdf=%) -pdf -halt-on-error $<
|
2017-01-28 22:04:27 +01:00
|
|
|
|
2017-02-15 00:05:43 +01:00
|
|
|
.PHONY: all continuous cleanup single clean rmpdf solutions
|