aboutsummaryrefslogtreecommitdiff
path: root/Makefile.revealjs
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.revealjs')
-rw-r--r--Makefile.revealjs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.revealjs b/Makefile.revealjs
new file mode 100644
index 0000000..02fb5d1
--- /dev/null
+++ b/Makefile.revealjs
@@ -0,0 +1,12 @@
+#
+# Makefile for reveal.js presentation
+#
+
+# See https://github.com/jgm/pandoc/wiki/Using-pandoc-to-produce-reveal.js-slides
+# Also look for variables at /usr/share/pandoc/data/templates/default.revealjs
+REVEAL_THEME=moon
+
+# Build a single slide deck
+%.html: %.md
+ @echo Building $@...
+ @pandoc -V theme=$(REVEAL_THEME) -V css=css/index.css -V revealjs-url=reveal.js -s --mathjax -i -t revealjs $< -o $@