Mercurial > hg > cv
annotate makefile @ 0:7102bd9bd8b9
Import
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Tue, 13 Sep 2011 12:01:49 +0200 |
parents | |
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 |