X-Git-Url: https://code.communitydata.science/uw_tex_letterhead.git/blobdiff_plain/fd870ead08d8d774cf469a2dc7b681c14a92cad9..7095325c6110afca9a7e05f403cb35a9a76d2400:/Makefile?ds=sidebyside 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: +