resume/Makefile
Marty Oehme d9e86d6c84
feat: Create a quarto-based manpage of the resume
Requires quarto for the manpage creation and pandoc for the html
conversion, if required.
2025-05-11 10:39:21 +02:00

26 lines
758 B
Makefile

.PHONY: clean all
all: clean cv resume letter
man:
uv run /opt/quarto/bin/quarto render cv-man.qmd --output-dir build
pandoc -t html -f man build/cv-man.man > build/cv-man.html
cv: cv.typ
mkdir -p build
typst compile --input lang=en cv.typ build/cv_en.pdf
typst compile --input lang=de cv.typ build/cv_de.pdf
resume: resume.typ
mkdir -p build
typst compile --input lang=en resume.typ build/resume_en.pdf
typst compile --input lang=de resume.typ build/resume_de.pdf
letter: letter.typ
mkdir -p build
typst compile --input lang=en letter.typ build/letter_en.pdf
typst compile --input lang=de letter.typ build/letter_de.pdf
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