summaryrefslogtreecommitdiff
path: root/emdebian/Makefile
blob: b4f429898a5886838c2a306c42678a7c3b7ea7f9 (plain)
  1. pandoc_sources := $(wildcard *.mkd)
  2. presentations = $(pandoc_sources:%.mkd=%/index.html)
  3. #aux = slidy.css
  4. all: $(presentations)
  5. # TODO: use --offline when working with Debian packaging of Pandoc
  6. $(presentations): %/index.html : %.mkd
  7. mkdir -p $(dir $@)
  8. pandoc --from Markdown --to Slidy -o $@ -s $<
  9. perl -i -pe 's{http://www.w3.org/Talks/Tools/Slidy/slidy.(css|js)(\.gz)?}{../slidy.min.$$1}g' $@