zusätzliche Dokumente für Akkreditierung

This commit is contained in:
Hartmut Seichter 2024-06-06 13:01:01 +02:00
parent 5c0da63c7e
commit 1e5081eb96
3 changed files with 128 additions and 4 deletions

View file

@ -10,22 +10,25 @@ pandoc_flags_eisvogel := --filter=pandoc-crossref --template eisvogel.latex -V p
mhb_flags := -V titlepage:true -V toc:true -V toc-own-page:true -V table-use-row-colors:true -V date:"\today" -V page-background:"images/background.pdf" -V page-background-opacity:"0.99" -V linestretch:"1.15" -V fontsize:10pt
mhb_meta_de := -V lang=de -V title:${name_course} -V subtitle:"Modulhandbuch" -V author:${name_author} -V footer-left:"Nichtamtliche Lesefassung"
mhb_meta_de := -V lang=de -V title:${name_course} -V subtitle:"Modulhandbuch" -V author:${name_author} -V footer-left:"Nichtamtliche Lesefassung"
# targets
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_ex_sv := ${output_path}/BaVI.ExemplarischerStudienverlauf.pdf
target_ex_pv := ${output_path}/BaVI.ExemplarischerPrüfngsverlauf.pdf
# target / all
targets := ${target_mhb} ${target_so} ${target_po} ${target_nt}
targets := ${target_mhb} ${target_so} ${target_po} ${target_nt} ${target_ex_sv} ${target_ex_pv}
# sources
source_po := PO.VI.preamble.md PO.VI.md
source_so := SO.VI.preamble.md SO.VI.md
source_nt := notes.md
source_ex_sv := ESV.md
source_ex_pv := EPV.md
# rules ahead
.PHONY: all clean
@ -41,10 +44,15 @@ ${target_po}: ${source_po}
${target_nt}: ${source_nt}
pandoc ${pandoc_flags_eisvogel} -o $@ $^
${target_ex_sv}: ${source_ex_sv}
pandoc ${pandoc_flags_eisvogel} -o $@ $^
${target_ex_pv}: ${source_ex_pv}
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 $@
clean:
rm ${targets}