diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-04-24 21:43:35 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-04-24 21:43:35 +0200 |
commit | fc8c037b80dea764393b79cba85a83004bd0aef6 (patch) | |
tree | 75da98a3b17cda6f3d022d52df3d8b80ed36e72d /slides/Makefile | |
parent | f64b81fed9702c41af4cec14d91f38ce5ad3384e (diff) | |
download | iot-workshop-ndc-2018-fc8c037b80dea764393b79cba85a83004bd0aef6.tar.gz iot-workshop-ndc-2018-fc8c037b80dea764393b79cba85a83004bd0aef6.tar.bz2 iot-workshop-ndc-2018-fc8c037b80dea764393b79cba85a83004bd0aef6.tar.xz iot-workshop-ndc-2018-fc8c037b80dea764393b79cba85a83004bd0aef6.zip |
wip
Diffstat (limited to 'slides/Makefile')
-rw-r--r-- | slides/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/slides/Makefile b/slides/Makefile index 5761bbb..846caa0 100644 --- a/slides/Makefile +++ b/slides/Makefile @@ -34,8 +34,6 @@ toc.md: $(P).md spell: .$(P).md.spell -.$(P).md.spell: $(P).md - .%.spell: % aspell --home-dir=. --personal=dictionary.txt --lang=en_US check $< touch $@ @@ -43,9 +41,15 @@ spell: .$(P).md.spell $(P).md: Makefile @touch $@ -%.beamer.md: %.md +include $(P).beamer.md.d +include $(P).revealjs.md.d + +%.beamer.md: %.md# %.beamer.md.d $(RUN_PP_BEAMER) < $< > $@ +%.beamer.md.d: %.md + $(RUN_PP_BEAMER) -M $< < $< > $@ + %-text.pdf: %.beamer.md $(RUN_PANDOC_TEXT) -o $@ $< @@ -55,9 +59,12 @@ $(P).md: Makefile %-slides.tex: %.beamer.md .var/SLIDE_THEME $(RUN_PANDOC_BEAMER) -o $@ $< -%.revealjs.md: %.md +%.revealjs.md: %.md# %.revealjs.md.d $(RUN_PP_REVEALJS) < $< > $@ +%.revealjs.md.d: %.md + $(RUN_PP_REVEALJS) -M $< < $< > $@ + %-reveal.html: %.revealjs.md $(RUN_PANDOC_REVEALJS) -o $@ $< |