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) $(CONTINUOUS) $(MAIN) %.pdf : %.tex rubric.tex latexmk -f -pdf -xelatex -use-make $< cleanall: latexmk -C clean: latexmk -c watch: latexmk -pvc -f -pdf -xelatex $< .PHONY: clean cleanall watch