latexandmore/Makefile

23 lines
361 B
Makefile
Raw Normal View History

PDF = IDB
2014-02-11 12:10:35 +01:00
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 $(PDF).tex
distclean:
latexmk -C -f $(PDF).tex
rm -f $(PDF).pdf
.PHONY: all clean distclean $(PDF) continuous