Aufräumarbeiten - Makefile säubern
This commit is contained in:
parent
06cba5839c
commit
e20998a3f4
1 changed files with 19 additions and 14 deletions
|
@ -1,26 +1,31 @@
|
|||
# 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
|
||||
|
||||
# makefile / YAML in coursebuilder und pandoc
|
||||
|
||||
name_course := "Studiengang Verwaltungsinformatik/E-Government (Bachelor of Science)"
|
||||
name_author := "Hochschule Schmalkalden, Fakultät Informatik"
|
||||
|
||||
# settings / intern
|
||||
output_path := build
|
||||
|
||||
target_mhb := ${output_path}/BaVI.MHB.pdf
|
||||
target_so := ${output_path}/BaVI.SO.pdf
|
||||
target_po := ${output_path}/BaVI.PO.pdf
|
||||
source_po := PO.VI.preamble.md PO.VI.md
|
||||
source_so := SO.VI.preamble.md SO.VI.md
|
||||
|
||||
|
||||
targets := ${target_mhb} ${target_so} ${target_po}
|
||||
|
||||
coursebuilder := ~/Code/coursebuilder/coursebuilder
|
||||
pandoc_flags_eisvogel := --filter=pandoc-crossref --template eisvogel.latex -V papersize:a4 --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_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 / all
|
||||
targets := ${target_mhb} ${target_so} ${target_po}
|
||||
|
||||
# sources
|
||||
source_po := PO.VI.preamble.md PO.VI.md
|
||||
source_so := SO.VI.preamble.md SO.VI.md
|
||||
|
||||
|
||||
# rules ahead
|
||||
.PHONY: all clean
|
||||
|
||||
all: ${targets}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue