@@ -12,6 +12,10 @@ clean:
13examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README
13examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README
14 PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@
14 PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@
15+ perl -pi -e 's!(href="(main|(my)?header|footer|example\d+)\.(html|tex|xml|css))"!\1.html"!g' $@
16+ for file in $$(ls | egrep '(main|(my)?header|footer|example[0-9]+)\.(html|tex|xml|css)$$'); \
17+ do highlight -u utf-8 --style emacs $$file > $$file.html; \
16%.html : %.txt $(PANDOC_DEPS)
20%.html : %.txt $(PANDOC_DEPS)
17 $(MAKEPAGE) $< > $@
21 $(MAKEPAGE) $< > $@