From 1cc207f6ebddd3609c995f17756f995cf8847c32 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Mon, 30 Oct 2017 21:54:19 +0100 Subject: 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. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index f42366ad..807f3068 100644 --- a/.gitignore +++ b/.gitignore @@ -24,5 +24,6 @@ Makefile Makefile.in patches stamp-h1 +.tarball-version tests /tool-versions.txt -- cgit v1.2.1