X-Git-Url: https://git.shemshak.org/~bandali/cv/blobdiff_plain/88457a3748dc603b777fd6d542ba85c511f3377e..8c620e76f81fb68822d60f6e8b6363f8fc999099:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 607248b..2c11a01 100644 --- a/Makefile +++ b/Makefile @@ -18,13 +18,21 @@ # along with this CV. If not, see . -all: bandali-cv.pdf +# .PRECIOUS: bandali-%.pdf -bandali-cv.pdf: bandali-cv.tex - latexmk -lualatex bandali-cv +all: cv resume -watch: - latexmk -lualatex -pvc -view=none bandali-cv +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 + +clean-all: latexmk -C