]> code.communitydata.science - uw_tex_letterhead.git/blobdiff - Makefile
remove the dependency on gpg
[uw_tex_letterhead.git] / Makefile
index 3441f9b31bb223fde9275b481df9440ccbe075f1..4a260581759d87cb27f8be48c0f68e48ea101d93 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,9 @@
 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)
@@ -14,7 +16,8 @@ figures/signature.pdf:
 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

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