Mercurial > gnulib
changeset 40208:f746878ee9be
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 05 Mar 2019 15:05:33 -0800 |
parents | 053dfcf64bef |
children | c43e83386661 |
files | ChangeLog build-aux/git-version-gen build-aux/move-if-change |
diffstat | 3 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <eggert@cs.ucla.edu> + + 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 <bruno@clisp.org> relocatable-prog: Use wrapper-free installation on Mac OS X, take 2.
--- 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."
--- 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 <bug-gnulib@gnu.org>." +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 <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."