2017-02-23 12:44:44 +01:00
|
|
|
PDF = MaC4Cheatsheet
|
2016-01-21 17:53:37 +01:00
|
|
|
|
2017-10-05 14:04:37 +02:00
|
|
|
all: $(PDF)
|
2016-01-21 17:53:37 +01:00
|
|
|
|
2017-10-05 14:04:37 +02:00
|
|
|
continuous: $(PDF).continuous
|
2016-01-21 17:53:37 +01:00
|
|
|
|
|
|
|
%.continuous: %.pdf
|
|
|
|
latexmk -jobname=$(@:%.continuous=%) -pvc -pdf $(@:%.continuous=%).tex
|
|
|
|
|
|
|
|
$(PDF): $(PDF).pdf
|
|
|
|
|
|
|
|
%.pdf: %.tex
|
|
|
|
latexmk -jobname=$(@:%.pdf=%) -pdf $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
latexmk -c -f $(PDF).tex
|
|
|
|
|
2017-10-05 14:04:37 +02:00
|
|
|
distclean:
|
2016-01-21 17:53:37 +01:00
|
|
|
latexmk -C -f $(PDF).tex
|
2017-10-05 14:04:37 +02:00
|
|
|
rm -f $(PDF).pdf
|
2016-01-21 17:53:37 +01:00
|
|
|
|
|
|
|
.PHONY: all clean distclean $(PDF) continuous
|