diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-04-28 18:28:25 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-04-28 18:29:02 +0200 |
| commit | afe36c251cf5f6a0deb1e3bf8588f7b153174811 (patch) | |
| tree | dcc041c74987447a30acbe8af509801cb08356c1 | |
| parent | ecf9cf052336cd319c0aa375ab648a7c7ad280af (diff) | |
| download | unterricht-afe36c251cf5f6a0deb1e3bf8588f7b153174811.tar.gz unterricht-afe36c251cf5f6a0deb1e3bf8588f7b153174811.zip | |
build handout version of slides from slides_handout.md
slides_handout.md can be a symlink to slides.md.
| -rw-r--r-- | common.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,10 @@ slides.pdf: slides.md $(wildcard img/*) $(MAKEFILE_LIST) @echo "building $@" $(PANDOC) $(SLIDES_OPTIONS) $< -o $@ +slides_handout.pdf: slides_handout.md $(wildcard img/*) $(MAKEFILE_LIST) + @echo "building $@" + $(PANDOC) $(SLIDES_OPTIONS) $< -M handout -o $@ + %.pdf: %.md $(MAKEFILE_LIST) @echo "building $@" $(PANDOC) -f markdown $< -o $@ |
