1
0
uw_tex_letterhead/Makefile
2018-02-18 16:22:46 -08:00

24 lines
392 B
Makefile

#!/usr/bin/make
.RECIPEPREFIX +=
SIGIMAGE = figures/signature.png.gpg
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
%.pdf: update-sig %.tex
latexmk -f -xelatex $<
<update-sig:
gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
clean:
latexmk -C *.tex
$(RM) -f *.tmp *.run.xml
$(RM) -f figures/signature.png
viewpdf: all
evince *.pdf
pdf: all
.PHONY: clean all