latexandmore/GTI/Makefile

23 lines
372 B
Makefile
Raw Normal View History

2017-03-29 13:49:35 +02:00
PDF = document
2017-10-05 14:03:17 +02:00
all: $(PDF)
2017-03-29 13:49:35 +02:00
2017-10-05 14:03:17 +02:00
continuous: $(PDF).continuous
2017-03-29 13:49:35 +02:00
%.continuous: %.pdf
latexmk -jobname=$(@:%.continuous=%) -pvc -pdf $(@:%.continuous=%).tex
$(PDF): $(PDF).pdf
%.pdf: %.tex
2018-02-16 08:56:03 +01:00
latexmk -jobname=gti_zusammenfassung -pdf -f $<
2017-03-29 13:49:35 +02:00
clean:
latexmk -c -f $(PDF).tex
2017-10-05 14:03:17 +02:00
distclean:
2017-03-29 13:49:35 +02:00
latexmk -C -f $(PDF).tex
2017-10-05 14:03:17 +02:00
rm -f $(PDF).pdf
2017-03-29 13:49:35 +02:00
.PHONY: all clean distclean $(PDF) continuous