From: CuleX Date: Wed, 4 Oct 2017 18:53:48 +0000 (+0200) Subject: Fix mandoc invocation for recent mandoc versions X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=8b70d36fbe9b135bdd1026bd996c6d21e1a541a7;p=Monocypher.git Fix mandoc invocation for recent mandoc versions A commit in mandoc earlier this year subtly broke the -O parsing. Multiple instances of -O do not get parsed, so all options have to be passed into the same -O with comma separation as intended. --- diff --git a/doc/man2html.sh b/doc/man2html.sh index 67bcfe6..bf6bf49 100755 --- a/doc/man2html.sh +++ b/doc/man2html.sh @@ -4,9 +4,8 @@ mkdir -p html for name in $(ls -1 "man/man3/" | sed 's/.3monocypher//' | grep -v "style.css") do - mandoc \ - -Oman=%N.html \ - -Ostyle=style.css \ + mandoc \ + -Oman=%N.html,style=style.css \ -Thtml man/man3/$name.3monocypher > html/$name.html done