Quiet pod2html warnings
authorRichard Levitte <levitte@openssl.org>
Sat, 19 May 2018 05:22:10 +0000 (07:22 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 20 May 2018 08:11:23 +0000 (10:11 +0200)
--quiet stops warnings of this sort:

    Cannot find "BIO_read_ex" in podpath: cannot find suitable replacement path, cannot resolve link

We know what causes these warnings, it's perfectly innocuous, and we
don't want to hear it any more.

Partial fix for #3254

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6304)

(cherry picked from commit 6439e343fa64f06941197d085acd11bd13856596)

util/process_docs.pl

index 0e46a0a05364fc97b4cc5cd83894e38d4e8c9005..6a0a0dfb1e8c56f64a1f21863829a840c859fb1d 100755 (executable)
@@ -101,7 +101,7 @@ foreach my $subdir (keys %{$options{subdir}}) {
         my $suffix = { man  => ".$podinfo{section}".($options{suffix} // ""),
                        html => ".html" } -> {$options{type}};
         my $generate = { man  => "pod2man --name=$name --section=$podinfo{section} --center=OpenSSL --release=$config{version} \"$podpath\"",
-                         html => "pod2html \"--podroot=$options{sourcedir}\" --htmldir=$updir --podpath=apps:crypto:ssl \"--infile=$podpath\" \"--title=$podname\""
+                         html => "pod2html \"--podroot=$options{sourcedir}\" --htmldir=$updir --podpath=apps:crypto:ssl \"--infile=$podpath\" \"--title=$podname\" --quiet"
                          } -> {$options{type}};
         my $output_dir = catdir($options{destdir}, "man$podinfo{section}");
         my $output_file = $podname . $suffix;