From 1dd75232e924186a6d663d34555305c6b4b92cfc Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 2 May 2011 16:40:02 +0200 Subject: Add sources for vietnam talks. --- vietnam/talk/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vietnam/talk/Makefile (limited to 'vietnam/talk/Makefile') 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' $@ -- cgit v1.2.3