summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
new file mode 100644
index 0000000..9c23b0f
--- /dev/null
+++ b/GNUmakefile
@@ -0,0 +1,12 @@
+SRC := $(shell find . -name '*.md')
+HTML = $(SRC:.md=.html)
+
+all: $(HTML) build-page
+
+%.html: %.md
+ sh build-page $< > $@
+
+clean:
+ rm -f $(HTML)
+
+.PHONY: all clean