Makefile 431 B

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