view makefile @ 0:7102bd9bd8b9

Import
author Daniele Nicolodi <daniele@grinta.net>
date Tue, 13 Sep 2011 12:01:49 +0200
parents
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