projects
/
~bandali
/
cv
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Long-overdue update to résumé.
[~bandali/cv]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
607248b
..
2c11a01
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,13
+18,21
@@
# 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-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:
clean:
+ latexmk -c
+
+clean-all:
latexmk -C
latexmk -C