latexandmore/Makefile
2014-06-23 10:25:12 +02:00

19 lines
282 B
Makefile

PDF = IDB
all: $(PDF)
continuous: $(PDF).continuous
%.continuous: %.pdf
latexmk -jobname=$(@:%.continuous=%) -pvc -pdf $(@:%.continuous=%).tex
$(PDF): $(PDF).pdf
%.pdf: %.tex
latexmk -jobname=$(@:%.pdf=%) -pdf $<
clean:
latexmk -c -f
.PHONY: all clean $(PDF) continuous