]> piware.de Git - talk-cockpit-auth-anywhere.git/blobdiff - Makefile
Build notes separately
[talk-cockpit-auth-anywhere.git] / Makefile
index 9e2846744219e8f1a57d0bf067e2c138faf0fd04..e97bc2e9609fd5d99115529a4f44caee80a065a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,19 @@
 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:
-       sudo dnf install -y pandoc texlive-beamer texlive-latex-bin texlive-collection-fontsrecommended texlive-hyphen-german texlive-hyphen-english texlive-dehyph texlive-fancyhdr texlive-dinbrief texlive-german texlive-a4wide
+       which pandoc || sudo dnf install -y pandoc texlive-beamer texlive-latex-bin texlive-collection-fontsrecommended texlive-hyphen-german texlive-hyphen-english texlive-dehyph texlive-fancyhdr texlive-dinbrief texlive-german texlive-a4wide
+
+bots:
+       git clone --depth=1 https://github.com/cockpit-project/bots
+
+# download test VMs
+download: bots
+       bots/image-download rhel-7-8 windows-10
 
 .PHONY: deps clean