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