Mercurial > hg > cv
annotate makefile @ 25:608d78441570
Makefile tweaks
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Sun, 17 Oct 2021 16:52:28 +0200 |
parents | efc357cfa277 |
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 |