From e20998a3f4a7cbc77845893aa46bca3dbf987085 Mon Sep 17 00:00:00 2001 From: Hartmut Seichter Date: Sat, 25 May 2024 19:43:21 +0200 Subject: [PATCH] =?UTF-8?q?Aufr=C3=A4umarbeiten=20-=20=20Makefile=20s?= =?UTF-8?q?=C3=A4ubern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- syllabus/VI/Makefile | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/syllabus/VI/Makefile b/syllabus/VI/Makefile index 5f75d4b..07709e3 100644 --- a/syllabus/VI/Makefile +++ b/syllabus/VI/Makefile @@ -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}