Makefile 419 B

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