summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: ec68d80d465c5f480c7d07c5ae6f1c15afca87a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
LATEXMK=latexmk
LATEXMKOPT=-pdf -xelatex
CONTINUOUS=-pvc

MAIN=cv
RUBRICS=statement.tex experience.tex opensource.tex specialinterest.tex
SOURCES=Makefile $(RUBRICS)

all: $(MAIN).pdf

.refresh:
	touch .refresh

$(MAIN).pdf: $(MAIN).tex .refresh $(SOURCES)
	$(LATEXMK) $(LATEXMKOPT) $(MAIN)

%.pdf : %.tex rubric.tex
	latexmk -f -pdf -xelatex -use-make $<

cleanall:
	latexmk -C
clean:
	latexmk -c

.PHONY: clean cleanall watch