|
@@ -7,10 +7,10 @@ before.html: before.md
|
|
|
pandoc -o $@ $<
|
|
|
|
|
|
$(WWW_ROOT)/index.html: index.md
|
|
|
- pandoc --template template.html --toc --toc-depth 1 --include-before before.html -s -o $@ $<
|
|
|
+ sed -r 's/#include (.*)/cat \1\n/e' $< | pandoc --template template.html --toc --toc-depth 1 --include-before before.html -s -o $@
|
|
|
|
|
|
$(WWW_ROOT)/index_slides.html: index.md
|
|
|
- pandoc --template template_slidy.html --toc-depth 1 -t slidy -s -o $@ $<
|
|
|
+ sed -r 's/#include (.*)/cat \1\n/e' $< | pandoc --template template_slidy.html --toc-depth 1 -t slidy -s -o $@
|
|
|
|
|
|
clean:
|
|
|
|