From b2fcdcae5e703ad24dea0cd500bfc1fbdbfb9d4e Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Fri, 14 Nov 2025 19:10:11 +0100 Subject: [PATCH] announce-gen: Pacify POD errors. * build-aux/announce-gen: Wrap all =items within =over..=back. Terminate all C< formatting codes with >, not EOL. (sizes): Format assignment operator like surrounding code. (print_locations): Add missing C formatting code. --- ChangeLog | 8 ++++++++ build-aux/announce-gen | 17 +++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f9a11161f2..2e3d0d477e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2025-11-17 Basil L. Contovounesios + + announce-gen: Pacify POD errors. + * build-aux/announce-gen: Wrap all =items within =over..=back. + Terminate all C< formatting codes with >, not EOL. + (sizes): Format assignment operator like surrounding code. + (print_locations): Add missing C formatting code. + 2025-11-16 Bruno Haible tests: Use C99 initialization syntax for single-variable 'for' loops. diff --git a/build-aux/announce-gen b/build-aux/announce-gen index c90a33e3b2..8d02f4f5c8 100755 --- a/build-aux/announce-gen +++ b/build-aux/announce-gen @@ -35,7 +35,7 @@ eval 'exec perl -wSx "$0" "$@"' if 0; -my $VERSION = '2025-07-30 01:47'; # UTC +my $VERSION = '2025-11-14 18:29'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook @@ -111,8 +111,9 @@ EOF exit $exit_code; } +=over -=item C<%size> = C +=item C<%size = sizes (@file)> Compute the sizes of the C<@file> and return them as a hash. Return C if one of the computation failed. @@ -139,9 +140,9 @@ sub sizes (@) return $fail ? undef : %res; } -=item C -Print a section C<$title> dedicated to the list of <@file>, which +Print a section C<$title> dedicated to the list of C<@file>, which sizes are stored in C<%size>, and which are available from the C<@url>. =cut @@ -163,7 +164,7 @@ sub print_locations ($\@\%@) print "\n"; } -=item C Print the SHA1 and SHA256 signature section for each C<@file>. @@ -214,7 +215,7 @@ sub print_checksums ($@) } } -=item C Print the section of the NEWS file C<$news_file> addressing changes between versions C<$prev_version> and C<$curr_version>. @@ -720,6 +721,10 @@ EOF exit 0; } +=back + +=cut + ### Setup "GNU" style for perl-mode and cperl-mode. ## Local Variables: ## mode: perl -- 2.47.3