summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-25 06:33:39 +0000
committerStefan Metzmacher <metze@samba.org>2010-10-25 08:16:28 +0000
commit2b74cea5f0f3bdfc51f03cfb7641010c7954f222 (patch)
tree7c2ee8a99ba3e8d03ee996abdb4fe50c72fab1f7 /source3/wscript_build
parent8ea6f41ec9d3e2577432a8d9be100f1f42775787 (diff)
downloadsamba-2b74cea5f0f3bdfc51f03cfb7641010c7954f222.tar.gz
samba-2b74cea5f0f3bdfc51f03cfb7641010c7954f222.tar.bz2
samba-2b74cea5f0f3bdfc51f03cfb7641010c7954f222.zip
s3-waf: use git to calculate the version if available
metze
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 3abcd178e6..0a05880960 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -904,6 +904,8 @@ t.env.BUILDDIR = bld.path.abspath()
bld.SETUP_BUILD_GROUPS()
+bld.SAMBA_MKVERSION('include/version.h')
+
bld.RECURSE('../lib/replace')
bld.RECURSE('../libcli/smbreadline')
print "SBINDIR=%s" % bld.env.SBINDIR
@@ -914,8 +916,6 @@ bld.RECURSE('librpc/idl')
bld.RECURSE('librpc')
bld.RECURSE('../libcli/security')
-bld.SAMBA_MKVERSION('include/version.h')
-
######################## SUBSYSTEMS #################################
bld.SAMBA_SUBSYSTEM('WBCOMMON',