Aufräumarbeiten - Makefile säubern

This commit is contained in:
Hartmut Seichter 2024-05-25 19:43:21 +02:00
parent 06cba5839c
commit e20998a3f4

View file

@ -1,26 +1,31 @@
# rule pandoc-pdf-eisvogel-mhb-de # makefile / YAML in coursebuilder und pandoc
# 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
name_course := "Studiengang Verwaltungsinformatik/E-Government (Bachelor of Science)"
name_author := "Hochschule Schmalkalden, Fakultät Informatik"
# settings / intern
output_path := build 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 coursebuilder := ~/Code/coursebuilder/coursebuilder
pandoc_flags_eisvogel := --filter=pandoc-crossref --template eisvogel.latex -V papersize:a4 --resource-path=. 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_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 .PHONY: all clean
all: ${targets} all: ${targets}