From: Rich Salz Date: Tue, 24 Sep 2019 15:32:01 +0000 (-0400) Subject: Ensure man1 POD files start with openssl- X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6dd3a3aa2577fa6c3586b96fe0b46be336cff54;p=openssl Ensure man1 POD files start with openssl- Commit b6b66573 (PR #9679) renamed most POD files. This change causes find-doc-nits to flag misnamed files. Also fix the two misnamed files that it found. Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10000) --- diff --git a/doc/man1/fipsinstall.pod b/doc/man1/openssl-fipsinstall.pod similarity index 100% rename from doc/man1/fipsinstall.pod rename to doc/man1/openssl-fipsinstall.pod diff --git a/doc/man1/provider.pod b/doc/man1/openssl-provider.pod similarity index 100% rename from doc/man1/provider.pod rename to doc/man1/openssl-provider.pod diff --git a/util/find-doc-nits b/util/find-doc-nits index 03b88ea767..11dcfcbac3 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -667,6 +667,14 @@ if ( $opt_n ) { check($_); } } + + # If not given args, check that all man1 commands are named properly. + if ( scalar @ARGV == 0 ) { + foreach (glob('doc/man1/*.pod')) { + next if /CA.pl/ || /openssl.pod/; + err("$_ doesn't start with openssl-") unless /openssl-/; + } + } } if ( $opt_u || $opt_v) {