autoconf-patches
[Top][All Lists]
Advanced

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

It's 2007


From: Eric Blake
Subject: It's 2007
Date: Thu, 4 Jan 2007 16:42:41 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

And so we don't have to remember this next year, I factored the copyright year 
into a Makefile.am rule.  Committing this, since we have already made changes 
in 2007.

2007-01-04  Eric Blake  <address@hidden>

        * bin/Makefile.am (RELEASE_YEAR): New macro.
        (edit): Use it to supply correct copyright year to scripts.
        * bin/autoconf.as (version): Use it.
        * bin/autoheader.in ($version): Likewise.
        * bin/autom4te.in ($version): Likewise.
        * bin/autoreconf.in ($version): Likewise.
        * bin/autoscan.in ($version): Likewise.
        * bin/autoupdate.in ($version): Likewise.
        * bin/ifnames.in ($version): Likewise.

Index: bin/Makefile.am
===================================================================
RCS file: /sources/autoconf/autoconf/bin/Makefile.am,v
retrieving revision 1.28
diff -u -r1.28 Makefile.am
--- bin/Makefile.am     27 Nov 2006 21:35:37 -0000      1.28
+++ bin/Makefile.am     4 Jan 2007 15:35:26 -0000
@@ -1,6 +1,6 @@
 # Make Autoconf commands.
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
 # Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -29,6 +29,9 @@
 # Files that should be removed, but which Automake does not know.
 MOSTLYCLEANFILES = $(bin_SCRIPTS) autoconf.in *.tmp
 
+# Get the release year from ../ChangeLog.
+RELEASE_YEAR = \
+  `sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' $(top_srcdir)/ChangeLog`
 
 ## ------------- ##
 ## The scripts.  ##
@@ -46,6 +49,7 @@
        -e 's|@address@hidden|$(M4)|g' \
        -e 's|@address@hidden|$(M4_DEBUGFILE)|g' \
        -e 's|@address@hidden|$(AWK)|g' \
+       -e 's|@address@hidden|'$(RELEASE_YEAR)'|g' \
        -e 's|@address@hidden|$(VERSION)|g' \
        -e 's|@address@hidden|$(PACKAGE_NAME)|g' \
        -e 's|@address@hidden|Generated from address@hidden; do not edit by 
hand.|g'
Index: bin/autoconf.as
===================================================================
RCS file: /sources/autoconf/autoconf/bin/autoconf.as,v
retrieving revision 1.23
diff -u -r1.23 autoconf.as
--- bin/autoconf.as     17 Nov 2006 21:04:54 -0000      1.23
+++ bin/autoconf.as     4 Jan 2007 15:35:27 -0000
@@ -2,7 +2,7 @@
 # autoconf -- create `configure' using m4 macros
 
 # Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003,
-# 2004, 2005, 2006 Free Software Foundation, Inc.
+# 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
 
 # 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
@@ -61,7 +61,7 @@
 
 version=["\
 autoconf (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
Index: bin/autoheader.in
===================================================================
RCS file: /sources/autoconf/autoconf/bin/autoheader.in,v
retrieving revision 1.146
diff -u -r1.146 autoheader.in
--- bin/autoheader.in   16 Oct 2006 20:58:44 -0000      1.146
+++ bin/autoheader.in   4 Jan 2007 15:35:27 -0000
@@ -8,7 +8,7 @@
 # autoheader -- create `config.h.in' from `configure.ac'
 
 # Copyright (C) 1992, 1993, 1994, 1996, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
 
 # 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
@@ -87,7 +87,7 @@
 # $VERSION
 # --------
 $version = "autoheader (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
Index: bin/autom4te.in
===================================================================
RCS file: /sources/autoconf/autoconf/bin/autom4te.in,v
retrieving revision 1.104
diff -u -r1.104 autom4te.in
--- bin/autom4te.in     24 Oct 2006 18:25:30 -0000      1.104
+++ bin/autom4te.in     4 Jan 2007 15:35:27 -0000
@@ -6,7 +6,8 @@
     if 0;
 
 # autom4te - Wrapper around M4 libraries.
-# Copyright (C) 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007 Free Software
+# Foundation, Inc.
 
 # 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
@@ -211,7 +212,7 @@
 # --------
 $version =  <<"EOF";
 autom4te (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
Index: bin/autoreconf.in
===================================================================
RCS file: /sources/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.136
diff -u -r1.136 autoreconf.in
--- bin/autoreconf.in   16 Oct 2006 20:58:44 -0000      1.136
+++ bin/autoreconf.in   4 Jan 2007 15:35:27 -0000
@@ -6,7 +6,7 @@
     if 0;
 
 # autoreconf - install the GNU Build System in a directory tree
-# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -97,7 +97,7 @@
 # $VERSION
 # --------
 $version = "autoreconf (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
Index: bin/autoscan.in
===================================================================
RCS file: /sources/autoconf/autoconf/bin/autoscan.in,v
retrieving revision 1.106
diff -u -r1.106 autoscan.in
--- bin/autoscan.in     16 Oct 2006 20:58:44 -0000      1.106
+++ bin/autoscan.in     4 Jan 2007 15:35:27 -0000
@@ -3,7 +3,7 @@
 # @configure_input@
 
 # autoscan - Create configure.scan (a preliminary configure.ac) for a package.
-# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 #  Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -123,7 +123,7 @@
 # $version
 # --------
 $version = "autoscan (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
Index: bin/autoupdate.in
===================================================================
RCS file: /sources/autoconf/autoconf/bin/autoupdate.in,v
retrieving revision 1.62
diff -u -r1.62 autoupdate.in
--- bin/autoupdate.in   16 Oct 2006 20:58:44 -0000      1.62
+++ bin/autoupdate.in   4 Jan 2007 15:35:27 -0000
@@ -3,7 +3,7 @@
 # @configure_input@
 
 # autoupdate - modernize an Autoconf file.
-# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,7 @@
 # $VERSION
 # --------
 $version = "autoupdate (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
Index: bin/ifnames.in
===================================================================
RCS file: /sources/autoconf/autoconf/bin/ifnames.in,v
retrieving revision 1.37
diff -u -r1.37 ifnames.in
--- bin/ifnames.in      16 Oct 2006 20:58:44 -0000      1.37
+++ bin/ifnames.in      4 Jan 2007 15:35:27 -0000
@@ -7,7 +7,7 @@
 
 # ifnames - print the identifiers used in C preprocessor conditionals
 
-# Copyright (C) 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2005, 2006
+# Copyright (C) 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -66,7 +66,7 @@
 # $VERSION
 # --------
 $version = "ifnames (@PACKAGE_NAME@) @VERSION@
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) @RELEASE_YEAR@ Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.






reply via email to

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