]> gitweb.ps.run Git - ouroboros-slides/commitdiff
update Makefile
authorpatrick-scho <patrick.schoenberger@posteo.de>
Wed, 16 Jul 2025 10:10:24 +0000 (12:10 +0200)
committerpatrick-scho <patrick.schoenberger@posteo.de>
Wed, 16 Jul 2025 10:10:24 +0000 (12:10 +0200)
Makefile

index 532c7cb4de741f52ba65275d1fba077f8d1dace4..1cd42a41b8daafc2711ed3aac10954100db92005 100644 (file)
--- 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