view 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
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