Enhance Makefile, make résumé footer \small
authorAmin Bandali <bandali@gnu.org>
Tue, 11 Aug 2020 01:30:31 +0000 (21:30 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 11 Aug 2020 01:30:31 +0000 (21:30 -0400)
Makefile
bandali-resume.tex

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
 
index 41a3b2a..8e336d7 100644 (file)
@@ -66,7 +66,7 @@
 \renewcommand\headrulewidth{0pt}
 \cfoot{%
   \textsc{\addfontfeature{Letters=UppercaseSmallCaps,LetterSpace=6.0}%
 \renewcommand\headrulewidth{0pt}
 \cfoot{%
   \textsc{\addfontfeature{Letters=UppercaseSmallCaps,LetterSpace=6.0}%
-    Bandali Résumé \textemdash{} page \thepage{} of \pageref*{LastPage}}}
+    \small{}Bandali Résumé \textemdash{} page \thepage{} of \pageref*{LastPage}}}
 
 %% body text font
 %% \usepackage[lining, tabular]{ebgaramond}
 
 %% body text font
 %% \usepackage[lining, tabular]{ebgaramond}