From e0c6d6609ef6de90e252f6409195f5be7fb26346 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 23 Apr 2026 21:25:29 +0200 Subject: add make rules for the slides --- Info/9/3/Planet/Makefile | 8 +++++++- Info/9/3/Planet/Makefile.slides | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 Info/9/3/Planet/Makefile.slides diff --git a/Info/9/3/Planet/Makefile b/Info/9/3/Planet/Makefile index b28b21bb..a4a42706 100644 --- a/Info/9/3/Planet/Makefile +++ b/Info/9/3/Planet/Makefile @@ -23,7 +23,7 @@ COMMON_PANDOC_OPTIONS := --embed-resources --standalone \ PANDOC=pandoc $(COMMON_PANDOC_OPTIONS) -all: $(PLOTS) $(SRC:.md=.html) $(PRINTOUT) +all: $(PLOTS) $(SRC:.md=.html) $(PRINTOUT) slides.pdf slides.pptx %.html: %.md planet-mebis-page-template.html Makefile $(PANDOC) --template planet-mebis-page-template.html --resource-path="$(@D):." $< > $@ @@ -45,3 +45,9 @@ algorithmik/while/tuwas.pdf: algorithmik/while/tuwas.tex algorithmik/while/tuwas.svg: algorithmik/while/tuwas.pdf pdf2svg $< $@ + +slides.pdf: slides.md + $(MAKE) -f Makefile.slides slides.pdf + +slides.pptx: slides.pdf + $(MAKE) -f Makefile.slides slides.pptx diff --git a/Info/9/3/Planet/Makefile.slides b/Info/9/3/Planet/Makefile.slides new file mode 100644 index 00000000..cfd776e1 --- /dev/null +++ b/Info/9/3/Planet/Makefile.slides @@ -0,0 +1,2 @@ +COMMON_MK = $(shell bash -c 'upfind() { [[ -f "$$1" ]] && printf "$$1" || ([ "$$(realpath $$(dirname "$$1"))" == "/" ] || upfind "../$$1") }; upfind common.mk') +include $(COMMON_MK) -- cgit v1.2.3