20 lines
1.1 KiB
Makefile
20 lines
1.1 KiB
Makefile
# rule pandoc-pdf-eisvogel-mhb-de
|
|
# 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
|
|
|
|
coursebuilder := ~/Code/coursebuilder/coursebuilder
|
|
pandoc_flags_eisvogel := --filter=pandoc-crossref --template eisvogel.latex --resource-path=.
|
|
|
|
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:"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
|
|
|
|
mhb:
|
|
${mhb_command}
|
|
|
|
debug:
|
|
python ~/Code/coursebuilder/coursebuilder -m mod.compint.yaml -s schema.yaml -f goal -l de
|