X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/cv/blobdiff_plain/d3eead2471b3ff4e93581687961f28b0476535f1..e3d5bea97654c5c1a65cf838d156f4e6a4f3ec04:/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