treesummaryrefslogcommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 532c7cb..1cd42a4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
+FLAGS=--standalone --slide-level=4 --strip-comments
+
all:
- pandoc -t revealjs --standalone pres.md -o pres.html --slide-level=4
+ pandoc -t revealjs pres.md -o pres.html $(FLAGS)
+
+embed:
+ pandoc -t revealjs pres.md -o pres.html $(FLAGS) --embed-resources
entr:
ls pres.md | entr -s make
-embed:
- pandoc -t revealjs --standalone --embed-resources pres.md -o pres.html --slide-level=4
-
-.PHONS: all embed
+PHONY: all embed entr