summaryrefslogtreecommitdiff
path: root/vietnam/talk/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-05-02 16:40:02 +0200
committerJonas Smedegaard <dr@jones.dk>2011-05-02 16:40:02 +0200
commit1dd75232e924186a6d663d34555305c6b4b92cfc (patch)
treebbbb6351c6965cc0fec8bb6cc622bdece11e4f67 /vietnam/talk/Makefile
parentfabf6802828287283a2e25cef9ff615c81842790 (diff)
Add sources for vietnam talks.
Diffstat (limited to 'vietnam/talk/Makefile')
-rw-r--r--vietnam/talk/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/vietnam/talk/Makefile b/vietnam/talk/Makefile
new file mode 100644
index 0000000..b4f4298
--- /dev/null
+++ b/vietnam/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/Slidy/slidy.(css|js)(\.gz)?}{../slidy.min.$$1}g' $@