]> code.communitydata.science - uw_tex_letterhead.git/blob - Makefile
1211cf32d878da70a2ead061d231718001bcf3cb
[uw_tex_letterhead.git] / Makefile
1 #!/usr/bin/make
2 .RECIPEPREFIX +=
3 SIGIMAGE = figures/signature.png.gpg
4
5 all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
6
7 %.pdf: update-sig %.tex 
8         latexmk -f -xelatex $<
9
10 <update-sig:
11     gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
12
13 clean: 
14         latexmk -C *.tex
15         $(RM) -f *.tmp *.run.xml
16         $(RM) -f figures/signature.png
17
18 viewpdf: all
19         evince *.pdf
20
21 pdf: all
22
23 .PHONY: clean all

Community Data Science Collective || Want to submit a patch?