Skip to content

Commit

Permalink
build: Update git-version-gen to latest upstream
Browse files Browse the repository at this point in the history
From commit b5a3c17daa05f6d76f70369e7cbeefe0db012499 of
https://git.savannah.gnu.org/cgit/gnulib.git/log/build-aux/git-version-gen
  • Loading branch information
ricotz committed Feb 11, 2022
1 parent f8b7f0d commit 85d01e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 10 additions & 9 deletions build-aux/git-version-gen
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -65,20 +65,21 @@ 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

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]
Expand Down

0 comments on commit 85d01e1

Please sign in to comment.