diff options
author | Olivia Mackintosh <livvy@base.nu> | 2022-07-26 20:24:57 +0200 |
---|---|---|
committer | Olivia Mackintosh <livvy@base.nu> | 2022-07-26 20:24:57 +0200 |
commit | b853325d373bd0e074ef96a97d19e60748122d63 (patch) | |
tree | dbb194c92c96eefa9fa1dcaecc38fb574b895270 /Makefile | |
parent | 65f41390fba26cc321220496a16d97f36aa15fd6 (diff) | |
download | cv-b853325d373bd0e074ef96a97d19e60748122d63.tar.gz |
Overhaul using CurVe library
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 30 |
1 files changed, 21 insertions, 9 deletions
@@ -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 |