From d3e2fd86a0634f43d1b7d1eb1771c11083a75978 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 22 Feb 2011 14:58:06 +0100 Subject: Add Makefile + first crude rendition of emdebian FreedomBox talk. --- emdebian/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 emdebian/Makefile (limited to 'emdebian/Makefile') diff --git a/emdebian/Makefile b/emdebian/Makefile new file mode 100644 index 0000000..b4f4298 --- /dev/null +++ b/emdebian/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