mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
Makefile: generate html documentation
This commit is contained in:
parent
c613602401
commit
598e0ad00f
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -2,6 +2,9 @@ GENERATE = collect-wireless-mac.capsman collect-wireless-mac.local dhcp-lease-co
|
||||||
|
|
||||||
all: $(GENERATE)
|
all: $(GENERATE)
|
||||||
|
|
||||||
|
README.html: README.md
|
||||||
|
markdown README.md > README.html
|
||||||
|
|
||||||
%.local: *.template Makefile
|
%.local: *.template Makefile
|
||||||
sed -e '/\/ caps-man/d' -e 's|%PATH%|interface wireless|' -e 's|%TEMPL%|$(suffix $@)|' \
|
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!' \
|
-e '/^# !!/,/^# !!/c # !! Do not edit this file, it is generated from template!' \
|
||||||
|
|
Loading…
Reference in a new issue