summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f63b8b8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+all: html dsgvo-privat.pdf dsgvo-privat-notes.pdf
+
+html: dsgvo-privat.html
+
+dsgvo-privat.html: dsgvo-privat.md
+ pandoc -f markdown+inline_notes+smart \
+ -t revealjs+smart --standalone --slide-level=2 \
+ --css=usrspace.css \
+ -V 'revealjs-url:reveal.js/' \
+ -o dsgvo-privat.html dsgvo-privat.md
+
+dsgvo-privat.pdf: dsgvo-privat.html
+ @echo Open file://$(PWD)/dsgvo-privat.html\?print-pdf
+
+dsgvo-privat-notes.pdf: dsgvo-privat.html
+ @echo Open file://$(PWD)/dsgvo-privat.html?print-pdf&showNotes=true
+
+clean:
+ rm -rf dsgvo-privat.html dsgvo-privat.pdf dsgvo-privat-notes.pdf *.svg