aboutsummaryrefslogtreecommitdiff
path: root/web/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'web/Makefile')
-rw-r--r--web/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/Makefile b/web/Makefile
index b713a05fe..28450c95f 100644
--- a/web/Makefile
+++ b/web/Makefile
@@ -12,6 +12,10 @@ clean:
examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README
PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@
+ perl -pi -e 's!(href="(main|(my)?header|footer|example\d+)\.(html|tex|xml|css))"!\1.html"!g' $@
+ for file in $$(ls | egrep '(main|(my)?header|footer|example[0-9]+)\.(html|tex|xml|css)$$'); \
+ do highlight -u utf-8 --style emacs $$file > $$file.html; \
+ done
%.html : %.txt $(PANDOC_DEPS)
$(MAKEPAGE) $< > $@