From: CuleX Date: Wed, 4 Oct 2017 03:30:30 +0000 (+0200) Subject: Fix link generation in HTML man page conversion X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=0d06f16659934e549f42d3aa15754a96b6aeca19;p=Monocypher.git Fix link generation in HTML man page conversion We strip the ".3monocypher" from the filename, so the -Oman argument needs to reflect that. --- diff --git a/doc/man2html.sh b/doc/man2html.sh index bc18dcd..67bcfe6 100755 --- a/doc/man2html.sh +++ b/doc/man2html.sh @@ -5,7 +5,7 @@ mkdir -p html for name in $(ls -1 "man/man3/" | sed 's/.3monocypher//' | grep -v "style.css") do mandoc \ - -Oman=%N.%S.html \ + -Oman=%N.html \ -Ostyle=style.css \ -Thtml man/man3/$name.3monocypher > html/$name.html done