X-Git-Url: https://code.communitydata.science/uw_tex_letterhead.git/blobdiff_plain/435ff5cc90b555d3f0e883a5fb3d4756b059c4a8..7095325c6110afca9a7e05f403cb35a9a76d2400:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 5dd4d5b..1211cf3 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,23 @@ +#!/usr/bin/make .RECIPEPREFIX += -TARGET = letter.pdf SIGIMAGE = figures/signature.png.gpg -all: $(TARGET) +all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) +%.pdf: update-sig %.tex + latexmk -f -xelatex $< -$(TARGET): update-sig main.pdf - mv main.pdf letter.pdf - - -main.pdf: - rubber -m xelatex main.tex - - -update-sig: +