1234567891011121314151617181920 |
- .PHONY: all clean
- all: ../tmp ../tmp/before.html ../tmp/index.html ../tmp/index_slides.html
- ../tmp:
- mkdir -p ../tmp
- cp template.css slidy.css slidy.js ../tmp
- ../tmp/before.html: before.md
- pandoc -o $@ $<
- ../tmp/index.html: index.md
- pandoc --template template.html --toc --toc-depth 1 --include-before ../tmp/before.html -s -o $@ $<
- ../tmp/index_slides.html: index.md
- pandoc --template template_slidy.html --toc-depth 1 -t slidy -s -o $@ $<
- clean:
|