]> git.eshelyaron.com Git - emacs.git/commitdiff
Sync build-aux/update-copyright from Gnulib
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Jan 2025 07:34:51 +0000 (07:34 +0000)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:26:22 +0000 (21:26 +0100)
* build-aux/update-copyright: Copy from Gnulib.
This should simplify this year's updating.

(cherry picked from commit 5d70928f2afea5ee4e1aa117aa9cfded56193b56)

build-aux/update-copyright

index 42f2693383548316b3a4db77c9ed338fbea3c4c2..0c3b8864a2b0abec347969cbf6794b3f0fcee3d5 100755 (executable)
 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 =~