Makefile 340 B

123456789101112
  1. .PHONY: all clean
  2. all: $(WWW_ROOT)/CM3.html $(WWW_ROOT)/CM3_slides.html
  3. $(WWW_ROOT)/CM3.html: CM3.md
  4. pandoc --template ../www/template.html --toc --toc-depth 1 --include-before ../www/before.html -s -o $@ $<
  5. $(WWW_ROOT)/CM3_slides.html: CM3.md
  6. pandoc --template ../www/template_slidy.html --toc-depth 1 -t slidy -s -o $@ $<
  7. clean: