build: only use git when found by configure
authorAndrew Tridgell <tridge@samba.org>
Mon, 28 Jun 2010 03:40:32 +0000 (13:40 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 29 Jun 2010 04:28:08 +0000 (14:28 +1000)
commit30dc87dab98a864ea640fb1df693b6eb8df6a920
tree15346580ebdda6bf5ff94b798382424fd832a258
parent3774ba350e6b828512e693b982e0927877cd13eb
build: only use git when found by configure

this rebuilds version.h whenever the git version changes, so we always
get the right version with samba -V. That adds about 15s to the build
time on each git commit, which shouldn't be too onerous
buildtools/wafsamba/samba_patterns.py
buildtools/wafsamba/samba_version.py
source4/wscript