Update make for simpler quarto workflow
This commit is contained in:
parent
e90de4ac66
commit
201018a489
1 changed files with 4 additions and 21 deletions
25
Makefile
25
Makefile
|
@ -1,27 +1,10 @@
|
||||||
OUTPUTDIR=out
|
.PHONY: all clean
|
||||||
|
|
||||||
.PHONY: all prep_dir clean clean_all clean_outputdir prep_dir cv
|
all: cv
|
||||||
|
|
||||||
all: prep_dir cv
|
cv: resume_de.qmd resume_en.qmd templates/jb2resume.latex
|
||||||
|
poetry run quarto render
|
||||||
cv: prep_dir create_cv.pdf
|
|
||||||
|
|
||||||
clean_all: clean clean_outputdir
|
|
||||||
|
|
||||||
create_cv.pdf: marty-oehme-cv-ger.md marty-oehme-cv-eng.md templates/jb2resume.latex
|
|
||||||
pandoc marty-oehme-cv-ger.md -f markdown+yaml_metadata_block \
|
|
||||||
--template templates/jb2resume.latex \
|
|
||||||
-o ${OUTPUTDIR}/marty-oehme-cv-ger.pdf
|
|
||||||
pandoc marty-oehme-cv-eng.md -f markdown+yaml_metadata_block \
|
|
||||||
--template templates/jb2resume.latex \
|
|
||||||
-o ${OUTPUTDIR}/marty-oehme-cv-eng.pdf
|
|
||||||
|
|
||||||
prep_dir:
|
|
||||||
mkdir -p ${OUTPUTDIR}
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *CV.aux *CV.bcf *CV.log *CV.out *CV.run.xml *CV.pdf short_CV.tex long_CV.tex *CV.bbl *CV.blg *yaml_CV.md
|
rm -f *CV.aux *CV.bcf *CV.log *CV.out *CV.run.xml *CV.pdf short_CV.tex long_CV.tex *CV.bbl *CV.blg *yaml_CV.md
|
||||||
|
|
||||||
clean_outputdir:
|
|
||||||
rm -rf ${OUTPUTDIR}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue