bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: move update-copyright to gnulib


From: Jim Meyering
Subject: [PATCH] maint: move update-copyright to gnulib
Date: Wed, 29 Jul 2009 19:36:14 +0200

FYI, I've just pushed this:

>From 5ef9069576230e11b123fffb52012c5b0e9c5f33 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 29 Jul 2009 16:29:21 +0200
Subject: [PATCH] maint: move update-copyright to gnulib

* build-aux/update-copyright: Remove file.
* bootstrap.conf (gnulib_modules): Add update-copyright.
* gnulib: Update submodule to latest.
---
 bootstrap.conf             |    1 +
 build-aux/update-copyright |   62 --------------------------------------------
 gnulib                     |    2 +-
 3 files changed, 2 insertions(+), 63 deletions(-)
 delete mode 100755 build-aux/update-copyright

diff --git a/bootstrap.conf b/bootstrap.conf
index 6671027..b6623f6 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -210,6 +210,7 @@ gnulib_modules="
   unlink-busy
   unlinkdir
   unlocked-io
+  update-copyright
   uptime
   useless-if-before-free
   userspec
diff --git a/build-aux/update-copyright b/build-aux/update-copyright
deleted file mode 100755
index 1ceaf8a..0000000
--- a/build-aux/update-copyright
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/usr/bin/perl -0777 -pi
-# Update an FSF copyright year list to include the current year.
-
-my $VERSION = '2009-07-29.13:34'; # UTC
-
-# Copyright (C) 2009 Free Software Foundation
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-# Written by Jim Meyering
-
-use strict;
-use warnings;
-
-my ($sec, $min, $hour, $mday, $month, $year) = localtime (time());
-my $this_year = $year + 1900;
-my $holder = 'Free Software Foundation';
-
-if (/([- ])((?:\d\d)?\d\d)((?:\n\#)?\s+$holder)/s)
-  {
-    my ($sep, $last_c_year, $rest) = ($1, $2, $3);
-
-    # Handle two-digit year numbers like "98" and "99".
-    $last_c_year <= 99
-      and $last_c_year += 1900;
-
-    if ($last_c_year != $this_year)
-      {
-        if ($sep eq '-' && $last_c_year + 1 == $this_year)
-          {
-            s//-$this_year$rest/;
-          }
-        elsif ($sep eq ' ' && $last_c_year + 1 == $this_year)
-          {
-            s// $last_c_year-$this_year$rest/;
-          }
-        else
-          {
-            s//$sep$last_c_year, $this_year$rest/;
-          }
-      }
-  }
-
-# Local variables:
-# indent-tabs-mode: nil
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "my $VERSION = '"
-# time-stamp-format: "%:y-%02m-%02d.%02H:%02M"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "'; # UTC"
-# End:
diff --git a/gnulib b/gnulib
index 7c385af..29a35cf 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 7c385af22c99df5eceda1e82d7aa595e6d5cb796
+Subproject commit 29a35cf5baff3fa063a995e91c28986859ad865f
--
1.6.4.rc3.201.gd9d59




reply via email to

[Prev in Thread] Current Thread [Next in Thread]