annotate makefile @ 17:052c1300d761

Update
author Daniele Nicolodi <daniele@grinta.net>
date Fri, 06 Jan 2017 22:28:08 +0100
parents a74b9e0f9064
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