]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
build: Update git-version-gen to latest upstream
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 11 Feb 2022 09:26:41 +0000 (10:26 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 11 Feb 2022 09:26:41 +0000 (10:26 +0100)
From commit b5a3c17daa05f6d76f70369e7cbeefe0db012499 of
https://git.savannah.gnu.org/cgit/gnulib.git/log/build-aux/git-version-gen

Makefile.am
build-aux/git-version-gen

index 19aaa219cb32005bd3ac086736f35ab5811ba7d9..6af784f15a2acee97192b456f514fc4528077595 100644 (file)
@@ -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
index 959f9889349a18ddf771bc57f9df9949297c6640..a44f5d5c905c5dcd8078a66a91a856846f2e8b91 100755 (executable)
@@ -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]