From b853325d373bd0e074ef96a97d19e60748122d63 Mon Sep 17 00:00:00 2001 From: Olivia Mackintosh Date: Tue, 26 Jul 2022 20:24:57 +0200 Subject: Overhaul using CurVe library --- Makefile | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5db767f..9b7acf3 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,27 @@ -.PHONY: clean +LATEXMK=latexmk +LATEXMKOPT=-pdf -xelatex +CONTINUOUS=-pvc -all: clean cv.pdf cv-web.pdf +MAIN=cv +RUBRICS=statement.tex experience.tex opensource.tex specialinterest.tex +SOURCES=Makefile $(RUBRICS) -cv-web.pdf : cv.pdf - qpdf --linearize $< $@ +all: $(MAIN).pdf -%.pdf : %.tex - latexmk -f -pdf -xelatex -quiet $< +.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: - rm -f *.{aux,fdb_latexmk,fls,log,xdv,out} + latexmk -c +watch: + latexmk -pvc -f -pdf -xelatex $< -cleanall : clean - rm -f *.pdf +.PHONY: clean cleanall watch -- cgit v1.2.3