123456789101112131415161718 |
- .PHONY: all clean
- all: before.html $(WWW_ROOT)/index.html $(WWW_ROOT)/index_slides.html
- cp *.svg $(WWW_ROOT)
- 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 $@ $<
- $(WWW_ROOT)/index_slides.html: index.md
- pandoc --template template_slidy.html --toc-depth 1 -t slidy -s -o $@ $<
- clean:
- rm -f before.html
|