summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-08-14 21:59:57 +0200
committerGuido Günther <agx@sigxcpu.org>2015-08-17 11:18:45 +0200
commit1068beec52099f908781a3376ee2e59d36ce18f9 (patch)
treeec67b320c99e4d9b5cb2ff7a1bf9bdfa30f62e2b /Makefile
Initial commitHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..40ceea3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+SOURCE=topics.mdwn
+PDF=$(SOURCE:mdwn=pdf)
+REVEALJS=$(SOURCE:mdwn=html)
+
+IMAGES=$(wildcard *.png)
+
+all: ${REVEALJS} ${PDF}
+
+${REVEALJS}: ${SOURCE} ${IMAGES} Makefile reveal.js
+ pandoc -V transition=fade -V theme=moon -t revealjs -s ${SOURCE} -o ${REVEALJS}
+
+${PDF}: ${SOURCE} Makefile
+ pandoc -t beamer -s ${SOURCE} -o ${PDF}
+
+reveal.js:
+ git clone https://github.com/hakimel/reveal.js.git
+ git checkout 2.6.2