1
0

Makefile 282 B

1234567891011121314
  1. MD_FILES = $(shell find -name "*.md")
  2. HTML_FILES = $(MD_FILES:.md=.html)
  3. all: $(HTML_FILES)
  4. %.html: %.md
  5. pandoc -s --toc -H style.html -o $@ $<
  6. publish:
  7. scp $(HTML_FILES) *.svg *.png yangra.univ-littoral.fr:public-html/enseignements/tutoriel_git/
  8. clean:
  9. rm -f $(HTML_FILES)