From a4389c03c8e1dc91e11750433fcfcf4f8dc638cb Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 20 Oct 2011 00:19:23 +0530 Subject: Add first Asia trip blends talk (fork of Vietnam trip blends talk. --- blends/talk/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 blends/talk/Makefile (limited to 'blends/talk/Makefile') 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' $@ -- cgit v1.2.3