annotate makefile @ 5:a74b9e0f9064

Switch from biblatex to biber
author Daniele Nicolodi <daniele@grinta.net>
date Mon, 06 Jul 2015 12:21:44 +0200
parents 7102bd9bd8b9
children efc357cfa277
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
1 SRC = cv
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
2 BIB = publications.bib
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
3 TODAY = $(shell date +%Y%m%d)
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
4
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
5 all: $(SRC).pdf
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
6 cp $(SRC).pdf nicolodi-cv-$(TODAY).pdf
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
7
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
8 %.pdf: %.tex publications.bib
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
9 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
10 biber $(SRC)
0
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
11 pdflatex $(SRC).tex
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
12 pdflatex $(SRC).tex
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
13
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
14 clean:
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
15 rm -f $(SRC)-blx.bib $(SRC).aux $(SRC).bbl $(SRC).blg $(SRC).log $(SRC).out $(SRC).pdf