]> code.delx.au - pulseaudio/commit
git-version-gen: Honor GIT_DESCRIBE_FOR_BUILD environment variable
authorColin Walters <walters@verbum.org>
Tue, 25 Sep 2012 23:26:18 +0000 (19:26 -0400)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 27 Sep 2012 12:22:10 +0000 (15:22 +0300)
commitf16a532e88f124422aea4c823e6c645382cab263
tree91b29383a3a730357b5dc69c6d1dfe9da3fce431
parentbf0a640cfd8807cfe856b02c175497e76243e7cd
git-version-gen: Honor GIT_DESCRIBE_FOR_BUILD environment variable

The GNOME-OSTree build system currently creates chroots and bind
mounts to the source tree outside the root; this means that we can't
necessarily run git inside the root, because in the case of git
submodules, the .git repository will point to outside root.

Also, error out fatally if we fail to determine the version; it
makes no sense to put UNKNOWN in e.g. the pkg-config files
since this will just cause errors later on.
configure.ac
git-version-gen