]> piware.de Git - talk-cockpit-auth-anywhere.git/blobdiff - Makefile
Refinements
[talk-cockpit-auth-anywhere.git] / Makefile
index 9b0ef6dfc6841afce42b8a6921363738751c6abe..63c7b939e11f571d5cd5502a3d6061772f2216ed 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:
@@ -15,4 +16,7 @@ bots:
 download: bots
        bots/image-download rhel-7-8 windows-10
 
-.PHONY: deps clean
+upload: cockpit-auth-anywhere.pdf
+       scp cockpit-auth-anywhere.pdf cockpit-auth-anywhere-notes.pdf piware.de:www/www/docs/
+
+.PHONY: deps clean download upload