From fc8c037b80dea764393b79cba85a83004bd0aef6 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 24 Apr 2018 21:43:35 +0200 Subject: wip --- slides/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'slides/Makefile') 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 $@ $< -- cgit v1.2.3