Long-overdue update to résumé.
[~bandali/cv] / Makefile
index b83b5b1..2c11a01 100644 (file)
--- a/Makefile
+++ b/Makefile
 # along with this CV.  If not, see <https://www.gnu.org/licenses/>.
 
 
 # along with this CV.  If not, see <https://www.gnu.org/licenses/>.
 
 
-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 $<)
 
        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:
        latexmk -c