blob: e37108e0301f4083f12af01a327986713fe6d4e1 (
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/Slidy2/(?:styles|scripts)/(slidy.(?:css|js))(?:\.gz)?}{../$$1}g' $@
|