From: Paul Eggert Date: Wed, 1 Jan 2025 07:34:51 +0000 (+0000) Subject: Sync build-aux/update-copyright from Gnulib X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b751e0d9d6b95955890e2eec62c909868bdcea6;p=emacs.git Sync build-aux/update-copyright from Gnulib * build-aux/update-copyright: Copy from Gnulib. This should simplify this year's updating. (cherry picked from commit 5d70928f2afea5ee4e1aa117aa9cfded56193b56) --- diff --git a/build-aux/update-copyright b/build-aux/update-copyright index 42f26933835..0c3b8864a2b 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 =~