Makefile 363 B

12345678910111213
  1. .PHONY: all clean
  2. all: $(WWW_ROOT)/CM1.html $(WWW_ROOT)/CM1_slides.html
  3. cp *.png $(WWW_ROOT)
  4. $(WWW_ROOT)/CM1.html: CM1.md
  5. pandoc --template ../www/template.html --toc --toc-depth 1 --include-before ../www/before.html -s -o $@ $<
  6. $(WWW_ROOT)/CM1_slides.html: CM1.md
  7. pandoc --template ../www/template_slidy.html --toc-depth 1 -t slidy -s -o $@ $<
  8. clean: