1
0

remove the dependency on gpg

I removed the dependency on GPG by making the encrypted signature file optional
rather than required.
This commit is contained in:
2018-02-18 16:43:55 -08:00
parent 1f74ac2ea0
commit 0bb99e9461
3 changed files with 15 additions and 7 deletions

View File

@@ -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