X-Git-Url: https://git.shemshak.org/~bandali/cv/blobdiff_plain/f73e4e5eb42143cd6d69fc76e7d04a621d879a24..8c620e76f81fb68822d60f6e8b6363f8fc999099:/Makefile?ds=sidebyside 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