Restrukturierung
This commit is contained in:
parent
5577e81216
commit
3828fcc079
42 changed files with 1506 additions and 6 deletions
|
@ -2,8 +2,15 @@
|
|||
# command = python $coursebuilder -s MHB/schema.yaml -p -t -l de --level 2 -b $in | pandoc -V lang=de $pandoc_flags_eisvogel $mhb_flags $mhb_de -o $out
|
||||
|
||||
|
||||
|
||||
output_path := build
|
||||
|
||||
target_mhb := ${output_path}/BaVI.MHB.pdf
|
||||
target_so := ${output_path}/BaVI.SO.pdf
|
||||
target_po := ${output_path}/BaVI.PO.pdf
|
||||
|
||||
targets := ${target_mhb} ${target_so}
|
||||
|
||||
coursebuilder := ~/Code/coursebuilder/coursebuilder
|
||||
pandoc_flags_eisvogel := --filter=pandoc-crossref --template eisvogel.latex -V papersize:a4 --resource-path=.
|
||||
|
||||
|
@ -11,13 +18,16 @@ mhb_flags := -V titlepage:true -V toc:true -V toc-own-page:true -V table-use-row
|
|||
|
||||
mhb_meta_de := -V lang=de -V title:"Studiengang Verwaltungsinformatik/E-Government (Bachelor of Science)" -V subtitle:"Modulhandbuch" -V author:"Hochschule Schmalkalden, Fakultät Informatik" -V footer-left:"Nichtamtliche Lesefassung"
|
||||
|
||||
mhb_command := python ${coursebuilder} -s schema.yaml -p -t -l de --level 2 -b book.yaml | pandoc ${pandoc_flags_eisvogel} ${mhb_flags} ${mhb_meta_de} -o ${output_path}/modulhandbuch-VI.pdf
|
||||
${target_so}:
|
||||
pandoc ${pandoc_flags_eisvogel} -o ${target_so} SO.VI.preamble.md SO.VI.md
|
||||
|
||||
mhb:
|
||||
${mhb_command}
|
||||
${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 ${target_mhb}
|
||||
|
||||
debug:
|
||||
python ~/Code/coursebuilder/coursebuilder -m mod.compint.yaml -s schema.yaml -f goal -l de
|
||||
all: ${targets}
|
||||
|
||||
clean:
|
||||
rm ${targets}
|
||||
|
||||
all:
|
||||
.PHONY: all clean
|
Loading…
Add table
Add a link
Reference in a new issue