ENC_SIGIMAGE = figures/signature.pdf.gpg
DEC_SIGIMAGE = figures/signature.pdf
-all: figures/signature.pdf $(patsubst %.tex,%.pdf,$(wildcard *.tex))
+# to use encrypted signatures files, add "figures/signature.pdf" (no
+# quotes) right before the first $( in the following line:
+all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
figures/signature.pdf:
gpg --yes --output $(DEC_SIGIMAGE) --decrypt $(ENC_SIGIMAGE)
clean:
latexmk -C *.tex
$(RM) -f *.tmp *.run.xml
- $(RM) -f $(DEC_SIGIMAGE)
+ # to use encrypted signature files, uncomment the following line
+ # $(RM) -f $(DEC_SIGIMAGE)
viewpdf: all
evince *.pdf