annotate makefile @ 2:a712a3c5b33e

Phys Rev Lett 2012 has been published
author Daniele Nicolodi <daniele@grinta.net>
date Sat, 05 May 2012 15:55:30 +0200
parents 7102bd9bd8b9
children a74b9e0f9064
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
Daniele Nicolodi <daniele@grinta.net>
parents:
diff changeset
10 bibtex $(SRC)
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