mirror of
https://gitlab.cs.fau.de/ik15ydit/latexandmore.git
synced 2024-11-22 11:49:32 +01:00
23 lines
376 B
Makefile
23 lines
376 B
Makefile
PDF = MaC4Cheatsheet.pdf
|
|
|
|
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
|