Mercurial > hg > cv
annotate makefile @ 3:625009cc354a
Updated
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 10 May 2013 19:58:46 +0200 |
parents | 7102bd9bd8b9 |
children | a74b9e0f9064 |
rev | line source |
---|---|
0 | 1 SRC = cv |
2 BIB = publications.bib | |
3 TODAY = $(shell date +%Y%m%d) | |
4 | |
5 all: $(SRC).pdf | |
6 cp $(SRC).pdf nicolodi-cv-$(TODAY).pdf | |
7 | |
8 %.pdf: %.tex publications.bib | |
9 pdflatex -file-line-error -halt-on-error $(SRC).tex | |
10 bibtex $(SRC) | |
11 pdflatex $(SRC).tex | |
12 pdflatex $(SRC).tex | |
13 | |
14 clean: | |
15 rm -f $(SRC)-blx.bib $(SRC).aux $(SRC).bbl $(SRC).blg $(SRC).log $(SRC).out $(SRC).pdf |