From bfe49f506f3385329d37baf4e242529049cfc887 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Aug 2007 00:48:41 +0200 Subject: Make inter-release --version output more useful. Now, each snapshot has a version "number" like 6.9-219-g58ddd, which indicates that it is built using the 219th change set (in _some_ repository) following the "v6.9" tag, and that 58ddd is a prefix of the commit SHA1. * build-aux/git-version-gen: New file. * configure.ac: Run it to set the version. * Makefile.am (dist-hook): Arrange so that .version appears only in distribution tarballs, never in a checked-out repository. * .gitignore: Add .version here, too. Just in case. Signed-off-by: Jim Meyering --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index abe485ef3..d231c96e8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ *~ .gdb-history .kludge-stamp +.version ABOUT-NLS INSTALL Makefile -- cgit v1.2.3-54-g00ecf