1 cockpit-auth-anywhere.pdf: cockpit-auth-anywhere.md
2 pandoc -t beamer -o $@ $<
3 sed '/setbeameroption/ s/{.*notes/{show only notes/' cockpit-auth-anywhere.md | pandoc -t beamer -o cockpit-auth-anywhere-notes.pdf -
6 rm -f cockpit-auth-anywhere.pdf cockpit-auth-anywhere-notes.pdf
8 # install the necessary tools to build this presentation
10 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
13 git clone --depth=1 https://github.com/cockpit-project/bots
17 bots/image-download rhel-7-8 windows-10
19 upload: cockpit-auth-anywhere.pdf
20 scp cockpit-auth-anywhere.pdf cockpit-auth-anywhere-notes.pdf piware.de:www/www/docs/
22 .PHONY: deps clean download upload