* build-aux/update-copyright: Add support for Emacs, which uses file names like Changelog.1 that are not man pages, and file names like emacs.1.in that are man page templates. --- ChangeLog | 7 +++++++ build-aux/update-copyright | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 2f00298d38..29879bb532 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-12-31 Paul Eggert <egg...@cs.ucla.edu> + + maint: update update-copyright for Emacs + * build-aux/update-copyright: Add support for Emacs, which + uses file names like Changelog.1 that are not man pages, + and file names like emacs.1.in that are man page templates. + 2024-12-31 Collin Funk <collin.fu...@gmail.com> servent tests: Fix failure due to missing htons declaration. diff --git a/build-aux/update-copyright b/build-aux/update-copyright index 42f2693383..0c3b8864a2 100755 --- a/build-aux/update-copyright +++ b/build-aux/update-copyright @@ -138,7 +138,7 @@ eval 'exec perl -wSx -0777 -pi "$0" "$@"' if 0; -my $VERSION = '2024-07-04.10:56'; # UTC +my $VERSION = '2025-01-01.07:36'; # 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 @@ -235,7 +235,7 @@ while (/(^|\n)(.{0,$prefix_max})$copyright_re/cg) else { my $ndash = ($ARGV =~ /\.tex(i(nfo)?)?$/ ? "--" - : $ARGV =~ /\.(\d[a-z]*|man)$/ ? "\\(en" + : $ARGV =~ /\.(\d[a-z]*|man)(\.in)?$/ && $ARGV !~ /ChangeLog\./ ? "\\(en" : "-"); $stmt =~ -- 2.47.1