>From 38cd01d2d16cdae8794d3cc2a4a70054651b799d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 11 Apr 2021 14:22:07 +0200 Subject: [PATCH 3/6] git-version-gen: Implement --version option according to GCS. * build-aux/git-version-gen (version): State the license. Use wording from GCS. --- ChangeLog | 4 ++++ build-aux/git-version-gen | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc08f18..2f9c759 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2021-04-11 Bruno Haible + 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. diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index 959f988..da525aa 100755 --- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -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 . +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] -- 2.7.4