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..bea88f6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+all: html zfs-intro.pdf zfs-intro-notes.pdf
+
+html: zfs-intro.html
+
+zfs-intro.html: zfs-intro.md
+ pandoc -f markdown+inline_notes+smart \
+ -t revealjs+smart --standalone --slide-level=2 \
+ --css=usrspace.css \
+ -V 'revealjs-url:reveal.js/' \
+ -o zfs-intro.html zfs-intro.md
+
+zfs-intro.pdf: zfs-intro.html
+ @echo Open file://$(PWD)/zfs-intro.html\?print-pdf
+
+zfs-intro-notes.pdf: zfs-intro.html
+ @echo Open file://$(PWD)/zfs-intro.html?print-pdf&showNotes=true
+
+clean:
+ rm -rf zfs-intro.html zfs-intro.pdf zfs-intro-notes.pdf *.svg