]> piware.de Git - talk-cockpit-auth-anywhere.git/blobdiff - Makefile
Build notes separately
[talk-cockpit-auth-anywhere.git] / Makefile
index 9b0ef6dfc6841afce42b8a6921363738751c6abe..e97bc2e9609fd5d99115529a4f44caee80a065a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
 cockpit-auth-anywhere.pdf: cockpit-auth-anywhere.md
        pandoc -t beamer -o $@ $<
+       sed '/setbeameroption/ s/{.*notes/{show only notes/' cockpit-auth-anywhere.md | pandoc -t beamer -o cockpit-auth-anywhere-notes.pdf -
 
 clean:
-       rm -f cockpit-auth-anywhere.pdf
+       rm -f cockpit-auth-anywhere.pdf cockpit-auth-anywhere-notes.pdf
 
 # install the necessary tools to build this presentation
 deps: