blob: a2fd4086e7d0e4b728f1f4f4b4a67d6a095bfa54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
MD_FILES = $(wildcard *.md) $(wildcard */*.md)
HTML_FILES = $(patsubst %.md, %.html, $(MD_FILES))
%.html: %.md
pandoc $^ --output $@
.PHONY: all clean
all: $(HTML_FILES)
clean:
rm -rf $(HTML_FILES)
|