Makefile 377 B

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