mirror of
https://gitlab.cs.fau.de/ik15ydit/latexandmore.git
synced 2024-12-23 16:46:06 +01:00
20 lines
490 B
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
|