1
0
uw_tex_letterhead/Makefile
Benjamin Mako Hill 1f74ac2ea0 several cleanup steps
- fully incorporated back sayamindu's stuff for dealing with encrypted
  signatures files (not a bad idea!)

- removed an old uw-header file from a previous version
2018-02-18 16:37:57 -08:00

25 lines
435 B
Makefile

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