]> piware.de Git - talk-cockpit-auth-anywhere.git/blob - Makefile
Refinements
[talk-cockpit-auth-anywhere.git] / Makefile
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 -
4
5 clean:
6         rm -f cockpit-auth-anywhere.pdf cockpit-auth-anywhere-notes.pdf
7
8 # install the necessary tools to build this presentation
9 deps:
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
11
12 bots:
13         git clone --depth=1 https://github.com/cockpit-project/bots
14
15 # download test VMs
16 download: bots
17         bots/image-download rhel-7-8 windows-10
18
19 upload: cockpit-auth-anywhere.pdf
20         scp cockpit-auth-anywhere.pdf cockpit-auth-anywhere-notes.pdf piware.de:www/www/docs/
21
22 .PHONY: deps clean download upload