resume/Makefile

28 lines
736 B
Makefile
Raw Permalink Normal View History

2023-03-16 06:58:57 +00:00
OUTPUTDIR=out
2023-03-16 07:32:41 +00:00
.PHONY: all prep_dir clean clean_all clean_outputdir prep_dir cv
2023-03-16 06:58:57 +00:00
2023-03-16 07:32:41 +00:00
all: prep_dir cv
2023-03-16 06:58:57 +00:00
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:
2023-03-16 07:32:41 +00:00
mkdir -p ${OUTPUTDIR}
2023-03-16 06:58:57 +00:00
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
clean_outputdir:
rm -rf ${OUTPUTDIR}