[vala/0.54] build: Update git-version-gen to latest upstream



commit 7757a0b81c004baeddd4e4693fb5800e1e5b0266
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Feb 11 10:26:41 2022 +0100

    build: Update git-version-gen to latest upstream
    
    From commit b5a3c17daa05f6d76f70369e7cbeefe0db012499 of
    https://git.savannah.gnu.org/cgit/gnulib.git/log/build-aux/git-version-gen

 Makefile.am               |  2 +-
 build-aux/git-version-gen | 19 ++++++++++---------
 2 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 19aaa219c..6af784f15 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,7 +87,7 @@ gen-version:
          echo "$$V" > $(top_srcdir)/.version;                                                          \
        fi
 dist-hook: gen-ChangeLog
-       echo $(VERSION) > $(distdir)/.tarball-version
+       echo '$(VERSION)' > $(distdir)/.tarball-version
 
 gen_start_date = 2009-02-25
 .PHONY: gen-ChangeLog
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index 959f98893..a44f5d5c9 100755
--- a/build-aux/git-version-gen
+++ b/build-aux/git-version-gen
@@ -1,12 +1,12 @@
 #!/bin/sh
 # Print a version string.
-scriptversion=2019-10-13.15; # UTC
+scriptversion=2022-01-27.18; # UTC
 
-# Copyright (C) 2007-2021 Free Software Foundation, Inc.
+# Copyright (C) 2007-2022 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
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
@@ -65,9 +65,10 @@ scriptversion=2019-10-13.15; # UTC
 # EXTRA_DIST = $(top_srcdir)/.version
 # BUILT_SOURCES = $(top_srcdir)/.version
 # $(top_srcdir)/.version:
-#      echo $(VERSION) > $@-t && mv $@-t $@
+#      echo '$(VERSION)' > $@-t
+#      mv $@-t $@
 # dist-hook:
-#      echo $(VERSION) > $(distdir)/.tarball-version
+#      echo '$(VERSION)' > $(distdir)/.tarball-version
 
 
 me=$0
@@ -75,10 +76,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]


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