Skip to content

Commit 58d5a89

Browse files
committed
Simple initial makefile
1 parent 6cd8c76 commit 58d5a89

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
GUIDES = $(notdir $(wildcard guides/*.md))
2+
HTML_GUIDES = $(addprefix build/html/,$(GUIDES:.md=.html))
3+
4+
html: $(HTML_GUIDES)
5+
6+
build/html/%.html : guides/%.md
7+
@mkdir -p build/html
8+
pandoc -s --toc $< -o $@
9+
10+
clean:
11+
rm -rf build
12+

0 commit comments

Comments
 (0)