Andrew Jeffery | d88c969 | 2021-03-12 16:22:29 +1030 | [diff] [blame] | 1 | .PHONY: html |
2 | html: $(patsubst %.md, %.html, $(wildcard *.md)) | ||||
3 | |||||
4 | %.html: %.md | ||||
5 | markdown2 \ | ||||
6 | --extras=code-friendly \ | ||||
7 | --extras=fenced-code-blocks \ | ||||
8 | --extras=tables \ | ||||
9 | $< > $@ | ||||
10 | |||||
11 | .PHONY: clean | ||||
12 | clean: | ||||
13 | $(RM) *.html |