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

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