Makefile 360 B

1234567891011
  1. all: ../tmp/CM1.html ../tmp/CM1_slides.html
  2. cp *.png ../tmp
  3. ../tmp/CM1.html: CM1.md
  4. pandoc --template ../www/template.html --css template.css --toc --toc-depth 1 --include-before ../tmp/before.html -s -o $@ $<
  5. ../tmp/CM1_slides.html: CM1.md
  6. pandoc --css slidy.css --template ../www/template_slidy.html --toc --toc-depth 1 -t slidy -s -o $@ $<
  7. clean: