git-gui: Generate a version file on demand.
commit5d643cd3cebf5eab44d99c5c7e54a1dbef28cba6
authorShawn O. Pearce <spearce@spearce.org>
Mon, 12 Feb 2007 21:14:44 +0000 (12 16:14 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 12 Feb 2007 21:14:44 +0000 (12 16:14 -0500)
tree1b6093b6ffaa83ed52230320c456c3f68a1dfec5
parent7e81d4eead48c189d52406379150b09fd4096987
git-gui: Generate a version file on demand.

Because git-gui is being shipped as a subproject of the main
Git project and will often have a different lifecycle than
the main Git project, we should ship our own version number
in the release tarball rather than relying on the main Git
version file.

Git's master Makefile will invoke our own with the target
dist-version, asking us to save off our GITGUI_VERSION value
into our own version file, so that our GIT-VERSION-GEN script
can recover it at build time.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Makefile