view makefile @ 4:3c814eb61283

Shorter version for CNRS application
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 03 Mar 2014 18:01:03 +0100
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