comparison makefile @ 20:efc357cfa277

Update
author Daniele Nicolodi <daniele@grinta.net>
date Sat, 23 Sep 2017 17:25:53 -0600
parents a74b9e0f9064
children 608d78441570
comparison
equal deleted inserted replaced
19:d5eb11d868be 20:efc357cfa277
1 SRC = cv 1 SRC = cv
2 BIB = publications.bib 2 BIB = publications.bib
3 TODAY = $(shell date +%Y%m%d)
4 3
5 all: $(SRC).pdf 4 all: $(SRC).pdf
6 cp $(SRC).pdf nicolodi-cv-$(TODAY).pdf
7 5
8 %.pdf: %.tex publications.bib 6 %.pdf: %.tex publications.bib
9 pdflatex -file-line-error -halt-on-error $(SRC).tex 7 pdflatex -file-line-error -halt-on-error $(SRC).tex
10 biber $(SRC) 8 biber $(SRC)
11 pdflatex $(SRC).tex 9 pdflatex $(SRC).tex