mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
Makefile: update links for generated html
This commit is contained in:
parent
e27a4e8f0e
commit
dfa750a7f5
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ HTML = $(MARKDOWN:.md=.html)
|
|||
all: $(CAPSMAN) $(LOCAL) $(HTML)
|
||||
|
||||
%.html: %.md Makefile
|
||||
markdown $< > $@
|
||||
markdown $< | sed 's/href="\([-[:alnum:]]*\)\.md"/href="\1.html"/g' > $@
|
||||
|
||||
%.local: %.template Makefile
|
||||
sed -e '/\/ caps-man/d' -e 's|%PATH%|interface wireless|' -e 's|%TEMPL%|$(suffix $@)|' \
|
||||
|
|
Loading…
Reference in a new issue