Update
[ecarlesso_cv.git] / Makefile
blobb27f0b7cc0c959407730afa3be5b68a705bf09ad
1 UNAME=$(shell uname)
3 target = enrico_carlesso_cv
4 deps = Makefile $(target).tex
6 all: $(target).pdf
8 $(target).pdf: $(target).tex $(deps)
9 pdflatex $(target).tex
11 .PHONY: clean view backup
13 clean:
14 rm -f $(target).{aux,dvi,log,out,toc,lof,pdf} *.{1,mpx,mpo,log} tmpgraph* *.tmp mpgraph.mp *~
16 view: $(target).pdf
17 ifeq ($(UNAME),Darwin)
18 open -a /Applications/Preview.app $(target).pdf
19 else
20 xpdf $(target).pdf $(PAGE)
21 endif
23 backup:
24 tar zcvf ../$(target)-backup.tar.gz .