From: Benjamin Mako Hill Date: Mon, 19 Feb 2018 00:37:57 +0000 (-0800) Subject: several cleanup steps X-Git-Url: https://code.communitydata.science/uw_tex_letterhead.git/commitdiff_plain/1f74ac2ea0f890495caf5fcf4d0204494194a5d3?ds=sidebyside 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 --- diff --git a/.gitignore b/.gitignore index c77fc3b..f05e9ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ ## files from here *.pdf -figures/signature.png +figures/signature.pdf ## From: https://github.com/github/gitignore/blob/master/TeX.gitignore ## Core latex/pdflatex auxiliary files: diff --git a/Makefile b/Makefile index 1211cf3..3441f9b 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,24 @@ #!/usr/bin/make -.RECIPEPREFIX += -SIGIMAGE = figures/signature.png.gpg -all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) +ENC_SIGIMAGE = figures/signature.pdf.gpg +DEC_SIGIMAGE = figures/signature.pdf -%.pdf: update-sig %.tex - latexmk -f -xelatex $< +all: figures/signature.pdf $(patsubst %.tex,%.pdf,$(wildcard *.tex)) + +figures/signature.pdf: + gpg --yes --output $(DEC_SIGIMAGE) --decrypt $(ENC_SIGIMAGE) -