]> Savannah Git Hosting - gnulib.git/commitdiff
git-version-gen: Implement --version option according to GCS.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Apr 2021 12:22:07 +0000 (14:22 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Apr 2021 12:22:07 +0000 (14:22 +0200)
* build-aux/git-version-gen (version): State the license. Use wording
from GCS.

ChangeLog
build-aux/git-version-gen

index dc08f18becf235d73d11c064ebf1132abb849075..2f9c7591510544f515a58de50ab0ed755bc6eee7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-04-11  Bruno Haible  <bruno@clisp.org>
 
+       git-version-gen: Implement --version option according to GCS.
+       * build-aux/git-version-gen (version): State the license. Use wording
+       from GCS.
+
        bootstrap: Implement --version option according to GCS.
        * build-aux/bootstrap (copyright_year, copyright): New variables.
        (--version): New option processing.
index 959f9889349a18ddf771bc57f9df9949297c6640..da525aa5403ffddc2820167359bafbea37ebed52 100755 (executable)
@@ -75,10 +75,10 @@ me=$0
 year=`expr "$scriptversion" : '\([^-]*\)'`
 version="git-version-gen $scriptversion
 
-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."
+Copyright (C) ${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."
 
 usage="\
 Usage: $me [OPTION]... \$srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT]