build: list sources of binary smbcontrol directly in sources, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 07:19:31 +0000 (09:19 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:24:36 +0000 (20:24 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index c7733d406cb152d4ee6568ea9d3b686cb7e586cb..065b95bd75fc9a76ac1b6062200cb4e317a5bef3 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-SMBCONTROL_SRC = '''utils/smbcontrol.c'''
-
 SMBTREE_SRC = '''utils/smbtree.c'''
 
 TESTPARM_SRC = 'utils/testparm.c'
@@ -1264,13 +1262,12 @@ bld.SAMBA3_BINARY('smbstatus',
                  PROFILE''')
 
 bld.SAMBA3_BINARY('smbcontrol',
-                 source=SMBCONTROL_SRC,
+                 source='utils/smbcontrol.c',
                  deps='''
                  talloc
                  param
                  popt_samba3
-                 PRINTBASE''',
-                 vars=locals())
+                 PRINTBASE''')
 
 bld.SAMBA3_BINARY('smbtree',
                  source=SMBTREE_SRC,