summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2017-10-30 21:54:19 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2018-03-14 20:44:14 +0100
commit1cc207f6ebddd3609c995f17756f995cf8847c32 (patch)
tree13d945f385c431bd98941bfc7c92878f7476b324 /configure.ac
parentb00d14e97e503f259bbd34889573d1175f6724f3 (diff)
downloadfindutils-1cc207f6ebddd3609c995f17756f995cf8847c32.tar.gz
maint: make inter-release --version output more useful
Now, each snapshot has a version "number" like 4.6-131-219-gda920ee, which indicates that it is built using the 131st change set (in _some_ repository) following the "v4.6" tag, and that da920ee is a prefix of the commit SHA1. * bootstrap.conf (gnulib_modules): Add git-version-gen. * build-aux/.gitigore (/git-version-gen): Add entry. * configure.ac: Run it to set the version from .tarball-version. * Makefile.am (EXTRA_DIST): Add git-version-gen. (dist-hook): Create .tarball-version in distribution tarballs, never in a checked-out repository. (AUTOMAKE_OPTIONS): Change from 'gnits' to 'gnu std-options readme-alpha'. * .gitignore (.tarball-version): Add entry. * doc/find-maint.texi (Making Releases): Adjust: tag before the build, changed handling in NEWS, etc. * NEWS (Changes to the build process): Document the change.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9ecf0b0c..ebcc5da3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,12 @@
dnl Written by James Youngman.
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([GNU findutils], 4.7.0-git, [bug-findutils@gnu.org])
+# Make inter-release version strings look like, e.g., v4.6-131-gda920ee, which
+# indicates that it is built from the 131st delta (in _some_ repository)
+# following the v4.6 tag, and that da920ee is a prefix of the commit SHA1.
+AC_INIT([GNU findutils],
+ m4_esyscmd([build-aux/git-version-gen .tarball-version]),
+ [bug-findutils@gnu.org])
dnl Set the bug-report URL
dnl