aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-24 17:06:45 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-24 17:06:45 +0200
commit598e0ad00fd67ff2f6a307078dd30d045a4e8c6e (patch)
tree0009c35e2a219b5c9454c9c077c38048fe558d2d /Makefile
parentc61360240172d83d759b7520d7ddf22f9a34ef7f (diff)
Makefile: generate html documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2169170..f8ffbe7 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,9 @@ GENERATE = collect-wireless-mac.capsman collect-wireless-mac.local dhcp-lease-co
all: $(GENERATE)
+README.html: README.md
+ markdown README.md > README.html
+
%.local: *.template Makefile
sed -e '/\/ caps-man/d' -e 's|%PATH%|interface wireless|' -e 's|%TEMPL%|$(suffix $@)|' \
-e '/^# !!/,/^# !!/c # !! Do not edit this file, it is generated from template!' \