aboutsummaryrefslogtreecommitdiff
path: root/rules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rules/Makefile')
-rw-r--r--rules/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/rules/Makefile b/rules/Makefile
index da130831..f5fa401e 100644
--- a/rules/Makefile
+++ b/rules/Makefile
@@ -1,6 +1,11 @@
-.PHONY: all
+.PHONY: all clean
-all: rules.html maps.html
+HTML = rules.html maps.html
+
+all: $(HTML)
%.html: %.md Makefile
pandoc --toc $*.md -s -o $@
+
+clean:
+ rm $(HTML)