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
-.PHONY: deps clean
+bots:
+ git clone --depth=1 https://github.com/cockpit-project/bots
+
+# download test VMs
+download: bots
+ bots/image-download rhel-7-8 windows-10
+
+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