diff options
-rwxr-xr-x | ctdb/wscript | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index 895fcc69b8..97cd84c255 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -196,6 +196,12 @@ def configure(conf): def build(bld): + t = bld.SAMBA_GENERATOR('ctdb-version-header', + target='include/ctdb_version.h', + rule='../packaging/mkversion.sh ${TGT} %s' % (VERSION), + dep_vars=['VERSION']) + t.env.VERSION = VERSION + bld.RECURSE('lib/replace') if bld.CHECK_FOR_THIRD_PARTY(): bld.RECURSE('third_party/popt') @@ -208,12 +214,6 @@ def build(bld): bld.RECURSE('lib/tdb') bld.RECURSE('lib/socket_wrapper') - t = bld.SAMBA_GENERATOR('ctdb-version-header', - target='include/ctdb_version.h', - rule='../packaging/mkversion.sh ${TGT} %s' % (VERSION), - dep_vars=['VERSION']) - t.env.VERSION = VERSION - bld.SAMBA_SUBSYSTEM('ctdb-tcp', source=bld.SUBDIR('tcp', 'tcp_connect.c tcp_init.c tcp_io.c'), |