]> gitweb.ps.run Git - ouroboros-slides/blobdiff - Makefile
update Makefile
[ouroboros-slides] / Makefile
index 9157f442478b81b6c081a43a970286fb4d437db9..1cd42a41b8daafc2711ed3aac10954100db92005 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,12 @@
+FLAGS=--standalone --slide-level=4 --strip-comments
+
 all:
-       pandoc -t revealjs --standalone pres.md -o pres_md.html
+       pandoc -t revealjs pres.md -o pres.html $(FLAGS)
 
 embed:
-       pandoc -t revealjs --standalone --embed-resources pres.md -o pres_md.html
+       pandoc -t revealjs pres.md -o pres.html $(FLAGS) --embed-resources
+
+entr:
+       ls pres.md | entr -s make
 
-.PHONS: all embed
+PHONY: all embed entr