repurpose title to make it configurable from outside

This commit is contained in:
Hartmut Seichter 2024-05-09 23:38:20 +02:00
parent 4fca7c7bae
commit 85abfeb743
4 changed files with 21 additions and 62 deletions

View file

@ -22,17 +22,8 @@ all: ${target_de} ${target_en}
clean:
rm ${target_de} ${target_en}
# debug-template:
# python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml -l de -f name credits goal content --template "$$name | $$credits"
# debug-markdown:
# python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml -l de -f name credits
# debug-book:
# python ${coursebuilder} -s schema.yaml -b book.yaml -l de
debug:
python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml mod.test.yaml -l de -f name credits goal content | pandoc ${target_flags} -V lang:de -o ${target_de}
python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml mod.test.yaml -p --title "## {}" -l de -f name credits goal content | pandoc ${target_flags} -V lang:de -o ${target_de}
.PHONY: clean