# HG changeset patch # User Paul Eggert # Date 1551827133 28800 # Node ID f746878ee9be27c0cea8ab5f8653a93fd0c99bfa # Parent 053dfcf64bef003088e2e519ab1b330b4827534d git-version-gen: fix --version copyright year * build-aux/git-version-gen, build-aux/move-if-change (version): --version output copyright year is now taken from script year, so that it no longer needs to be updated by hand. diff -r 053dfcf64bef -r f746878ee9be ChangeLog --- a/ChangeLog Mon Mar 04 08:35:35 2019 -0800 +++ b/ChangeLog Tue Mar 05 15:05:33 2019 -0800 @@ -1,3 +1,10 @@ +2019-03-05 Paul Eggert + + git-version-gen: fix --version copyright year + * build-aux/git-version-gen, build-aux/move-if-change (version): + --version output copyright year is now taken from script year, + so that it no longer needs to be updated by hand. + 2019-03-04 Bruno Haible relocatable-prog: Use wrapper-free installation on Mac OS X, take 2. diff -r 053dfcf64bef -r f746878ee9be build-aux/git-version-gen --- a/build-aux/git-version-gen Mon Mar 04 08:35:35 2019 -0800 +++ b/build-aux/git-version-gen Tue Mar 05 15:05:33 2019 -0800 @@ -72,9 +72,10 @@ me=$0 +year=`expr "$scriptversion" : '\([^-]*\)'` version="git-version-gen $scriptversion -Copyright 2011 Free Software Foundation, Inc. +Copyright $year Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING." diff -r 053dfcf64bef -r f746878ee9be build-aux/move-if-change --- a/build-aux/move-if-change Mon Mar 04 08:35:35 2019 -0800 +++ b/build-aux/move-if-change Tue Mar 05 15:05:33 2019 -0800 @@ -36,9 +36,10 @@ Report bugs to ." +year=`expr "$VERSION" : '\([^-]*\)'` version=`expr "$VERSION" : '\([^ ]*\)'` version="move-if-change (gnulib) $version -Copyright (C) 2011 Free Software Foundation, Inc. +Copyright $year Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."