From 3181a18b8cb62bbb99e42809fb121031746659b7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 26 Sep 2024 11:14:16 +0200 Subject: [PATCH] Update Makefile for typst --- Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 49166a6..de980ec 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,14 @@ -.PHONY: clean +.PHONY: clean all -all: resume_*.qmd templates/jb2resume.latex letter.qmd templates/letter.latex - poetry run quarto render +all: clean cv resume letter -cv: resume_de.qmd resume_en.qmd templates/jb2resume.latex - poetry run quarto render resume_de.qmd resume_en.qmd +cv: cv.typ + 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 + typst compile --input lang=en resume.typ build/resume_en.pdf + typst compile --input lang=de resume.typ build/resume_de.pdf letter: letter.qmd templates/letter.latex poetry run quarto render letter.qmd