2018-02-18 15:59:49 -08:00
|
|
|
#!/usr/bin/make
|
2017-11-24 20:09:28 -08:00
|
|
|
.RECIPEPREFIX +=
|
|
|
|
|
SIGIMAGE = figures/signature.png.gpg
|
2018-02-18 15:59:49 -08:00
|
|
|
|
|
|
|
|
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
|
|
|
|
|
|
2018-02-18 16:22:46 -08:00
|
|
|
%.pdf: update-sig %.tex
|
2018-02-18 15:59:49 -08:00
|
|
|
latexmk -f -xelatex $<
|
|
|
|
|
|
2018-02-18 16:22:46 -08:00
|
|
|
<update-sig:
|
2017-11-24 20:09:28 -08:00
|
|
|
gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
|
|
|
|
|
|
2018-02-18 15:59:49 -08:00
|
|
|
clean:
|
|
|
|
|
latexmk -C *.tex
|
2018-02-18 16:22:46 -08:00
|
|
|
$(RM) -f *.tmp *.run.xml
|
|
|
|
|
$(RM) -f figures/signature.png
|
2018-02-18 15:59:49 -08:00
|
|
|
|
|
|
|
|
viewpdf: all
|
|
|
|
|
evince *.pdf
|
|
|
|
|
|
|
|
|
|
pdf: all
|
|
|
|
|
|
|
|
|
|
.PHONY: clean all
|