diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2014-05-06 22:35:28 +0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-07-09 20:24:28 -0300 |
commit | 6721222ea8e3e8c0de15c5ae6f3ae0e388676c2a (patch) | |
tree | 863987c977e93decc8ed3a866c8b6a30cfb33519 /lib/database.cc | |
parent | 934e333a08e7f0ef24a3f139dd3d8738d28f1bd5 (diff) |
build: check .git directory existence in srcdir (for out-of-tree builds)
So that $(VERSION) and version.stamp uses the git-describe -based
version data instead of the content of `version' file.
For consistency also the git commands in Makefile[.local] target
`verify-no-dirty-code' uses the git --git-dir=$srcdir/.git ...
commands (inside ifeq($(IS_GIT),yes)). Attempting to make this
target outside of the tree will fail in any case.
Diffstat (limited to 'lib/database.cc')
0 files changed, 0 insertions, 0 deletions