Mercurial > hg > cv
annotate makefile @ 27:86a6ab1746e4 default tip
orcid
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Wed, 19 Jul 2023 15:46:40 +0200 |
parents | 608d78441570 |
children |
rev | line source |
---|---|
0 | 1 SRC = cv |
2 BIB = publications.bib | |
3 | |
25 | 4 # get last modification date |
5 MDATE=$(shell stat -t "%Y%m%d" -f "%Sm" cv.tex publications.bib | sort -rn | head -1) | |
0 | 6 |
25 | 7 all: cv.pdf |
8 | |
9 %.pdf: %.tex publications.bib cv.sty | |
0 | 10 pdflatex -file-line-error -halt-on-error $(SRC).tex |
5
a74b9e0f9064
Switch from biblatex to biber
Daniele Nicolodi <daniele@grinta.net>
parents:
0
diff
changeset
|
11 biber $(SRC) |
0 | 12 pdflatex $(SRC).tex |
13 pdflatex $(SRC).tex | |
14 | |
15 clean: | |
16 rm -f $(SRC)-blx.bib $(SRC).aux $(SRC).bbl $(SRC).blg $(SRC).log $(SRC).out $(SRC).pdf | |
25 | 17 |
18 copy: | |
19 cp $(SRC).pdf nicolodi-cv-$(MDATE).pdf |