Commit 6d9d47a0 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Use mandoc for generating the HTML manpage.

parent 721bc9a9
......@@ -32,11 +32,7 @@ version.h:
.SUFFIXES: .man .html
.man.html:
rman -f html $< | \
sed -e "s|<a href='babeld.8'|<a href=\"babeld.html\"|" \
-e "s|<a href='\\(ahcp[-a-z]*\\).8'|<a href=\"../ahcp/\1.html\"|" \
-e "s|<a href='[^']*8'>\\(.*(8)\\)</a>|\1|" \
> $@
mandoc -Thtml $< > $@
babeld.html: babeld.man
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment