summaryrefslogtreecommitdiff
path: root/blends/talk/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-10-20 00:19:23 +0530
committerJonas Smedegaard <dr@jones.dk>2011-10-20 00:19:23 +0530
commita4389c03c8e1dc91e11750433fcfcf4f8dc638cb (patch)
tree7a042e7fffadf0fca0314d2dff65c8dd59ff2d79 /blends/talk/Makefile
parentea101f48f1080f7591a45fba4fe2f14f945aab26 (diff)
Add first Asia trip blends talk (fork of Vietnam trip blends talk.
Diffstat (limited to 'blends/talk/Makefile')
-rw-r--r--blends/talk/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/blends/talk/Makefile b/blends/talk/Makefile
new file mode 100644
index 0000000..e37108e
--- /dev/null
+++ b/blends/talk/Makefile
@@ -0,0 +1,11 @@
+pandoc_sources := $(wildcard *.mkd)
+presentations = $(pandoc_sources:%.mkd=%/index.html)
+#aux = slidy.css
+
+all: $(presentations)
+
+# TODO: use --offline when working with Debian packaging of Pandoc
+$(presentations): %/index.html : %.mkd
+ mkdir -p $(dir $@)
+ pandoc --from Markdown --to Slidy -o $@ -s $<
+ perl -i -pe 's{http://www.w3.org/Talks/Tools/Slidy2/(?:styles|scripts)/(slidy.(?:css|js))(?:\.gz)?}{../$$1}g' $@