build: Generate version numbers for git
commit1dba61a67063fac2c6f02dc31ab84e61ff279617
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 23 Nov 2009 03:40:52 +0000 (23 05:40 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 23 Nov 2009 04:22:15 +0000 (23 06:22 +0200)
treefcf4469f5e9b3152c738849809b7d4dd441d7187
parentd3a1fa98f4e20ce707a7da54d381adf1e3d1eb87
build: Generate version numbers for git

Update the version.sh script for git so it'll generate version numbers
more useful than "UNKNOWN". At the moment it only generates the short
SHA1 name, but adding a tag as a starting point should allow more
useful output. Rather than update the Makefile logic that tried to
guess whether the svn revision had changed since the last version.h
update, just run the version.sh script from configure so the version
is updated at least at that time.
Makefile
configure
version.sh