aboutsummaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-12-16 21:10:09 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-12-16 21:10:09 +0100
commit494a63954e0c9c654ca1386613b6ff1454e45a1d (patch)
tree982e5c3ef40f2fb2b76945bae9ac169d8647d316 /common.mk
parente75f9780871d1e21a52249a0a0dbd0c76ab97a1a (diff)
downloadunterricht-494a63954e0c9c654ca1386613b6ff1454e45a1d.tar.gz
unterricht-494a63954e0c9c654ca1386613b6ff1454e45a1d.zip
build schedules using a custom schedule latex format
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 10a32461..bca0dd3b 100644
--- a/common.mk
+++ b/common.mk
@@ -52,6 +52,10 @@ slides.pptx: slides.pdf $(MAKEFILE_LIST)
@echo "building $@"
$(VERBOSE)$(PDF2PPTX) $<
+schedule.pdf: schedule.md $(MAKEFILE_LIST)
+ @echo "building $@"
+ $(VERBOSE)$(PANDOC) --pdf-engine-opt=--fmt=$(LATEX_FMT_BASE)/schedule.fmt -f markdown $< -o $@
+
%.pdf: %.md $(MAKEFILE_LIST)
@echo "building $@"
$(VERBOSE)$(PANDOC) -f markdown $< -o $@