blob: b4f429898a5886838c2a306c42678a7c3b7ea7f9 (
plain)
- 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' $@
|