Notizen als PDF -> später für eine Änderungsdokumentation

This commit is contained in:
Hartmut Seichter 2024-05-25 20:53:03 +02:00
parent ac4f6c70d5
commit 5c0da63c7e
2 changed files with 12 additions and 5 deletions

View file

@ -16,13 +16,15 @@ mhb_meta_de := -V lang=de -V title:${name_course} -V subtitle:"Modulhandbuch" -V
target_mhb := ${output_path}/BaVI.MHB.pdf
target_so := ${output_path}/BaVI.SO.pdf
target_po := ${output_path}/BaVI.PO.pdf
target_nt := ${output_path}/BaVI.Notizen.pdf
# target / all
targets := ${target_mhb} ${target_so} ${target_po}
targets := ${target_mhb} ${target_so} ${target_po} ${target_nt}
# sources
source_po := PO.VI.preamble.md PO.VI.md
source_so := SO.VI.preamble.md SO.VI.md
source_nt := notes.md
# rules ahead
@ -36,6 +38,9 @@ ${target_so}: ${source_so}
${target_po}: ${source_po}
pandoc ${pandoc_flags_eisvogel} -o $@ $^
${target_nt}: ${source_nt}
pandoc ${pandoc_flags_eisvogel} -o $@ $^
${target_mhb}:
mkdir -p ${output_path}
python ${coursebuilder} -s MHB/schema.yaml -p -t -l de --level 2 -b MHB/book.yaml | pandoc ${pandoc_flags_eisvogel} ${mhb_flags} ${mhb_meta_de} -o $@