resume/Makefile

38 lines
1.1 KiB
Makefile
Raw Normal View History

2023-03-16 06:58:57 +00:00
OUTPUTDIR=out
.PHONY: all prep_dir clean clean_all clean_outputdir prep_dir cv resume
all: prep_dir cv resume
cv: prep_dir create_cv.pdf
resume: prep_dir create_resume.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
create_resume.pdf: marty-oehme-resume-ger.md marty-oehme-resume-eng.md
pandoc marty-oehme-resume-ger.md -f markdown+yaml_metadata_block \
--template templates/jb2resume.latex \
-o ${OUTPUTDIR}/marty-oehme-resume-ger.pdf
pandoc marty-oehme-resume-eng.md -f markdown+yaml_metadata_block \
--template templates/jb2resume.latex \
-o ${OUTPUTDIR}/marty-oehme-resume-eng.pdf
prep_dir:
mkdir -p ${OUTPUTDIR}
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}