view makefile @ 3:625009cc354a

Updated
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 10 May 2013 19:58:46 +0200
parents 7102bd9bd8b9
children a74b9e0f9064
line wrap: on
line source

SRC = cv
BIB = publications.bib
TODAY = $(shell date +%Y%m%d)

all: $(SRC).pdf
	cp $(SRC).pdf nicolodi-cv-$(TODAY).pdf

%.pdf: %.tex publications.bib
	pdflatex -file-line-error -halt-on-error $(SRC).tex
	bibtex $(SRC)
	pdflatex $(SRC).tex
	pdflatex $(SRC).tex

clean:
	rm -f $(SRC)-blx.bib $(SRC).aux $(SRC).bbl $(SRC).blg $(SRC).log $(SRC).out $(SRC).pdf