X-Git-Url: https://git.shemshak.org/~bandali/cv/blobdiff_plain/d3eead2471b3ff4e93581687961f28b0476535f1..HEAD:/Makefile diff --git a/Makefile b/Makefile index b83b5b1..2c11a01 100644 --- a/Makefile +++ b/Makefile @@ -18,14 +18,19 @@ # along with this CV. If not, see . -all: bandali-%.pdf +# .PRECIOUS: bandali-%.pdf -bandali-%.pdf: bandali-%.tex +all: cv resume + +bandali-cv.pdf bandali-resume.pdf: bandali-%.pdf: bandali-%.tex latexmk -lualatex $< watch-%: bandali-%.pdf latexmk -lualatex -pvc -view=none $(basename $<) +%:: bandali-%.pdf + cp -p $(basename $<).pdf $(basename $<)-$$(date +%Y).pdf + clean: latexmk -c