]> git.codecow.com Git - Monocypher.git/commitdiff
Fix link generation in HTML man page conversion
authorCuleX <cculex@gmail.com>
Wed, 4 Oct 2017 03:30:30 +0000 (05:30 +0200)
committerCuleX <cculex@gmail.com>
Wed, 4 Oct 2017 03:30:30 +0000 (05:30 +0200)
We strip the ".3monocypher" from the filename, so the -Oman argument
needs to reflect that.

doc/man2html.sh

index bc18dcd550200f230d2664683cb069bb522dcdac..67bcfe665b69491b1cbf336aa0b2b96cb290b6a6 100755 (executable)
@@ -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