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..e37cad5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+SOURCE=gbp.mdwn
+PDF=$(SOURCE:mdwn=pdf)
+REVEALJS=$(SOURCE:mdwn=html)
+
+PICS = \
+ branches.png \
+ gbp-buildpackage.png \
+ popcon-vc-build-tools.png \
+ $(NULL)
+
+SOURCES = ${SOURCE} ${PICS} Makefile
+
+all: ${REVEALJS} ${PDF}
+
+${REVEALJS}: ${SOURCES}
+ pandoc -V transition=fade -V theme=moon -t revealjs -s ${SOURCE} -o ${REVEALJS}
+
+${PDF}: ${SOURCES}
+ pandoc -t beamer -s ${SOURCE} -o ${PDF}