build: list source of binary pdbedit directly in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 07:32:58 +0000 (09:32 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:25:03 +0000 (20:25 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 44e411008f641eccdf0930a212fe025eb70e5a7b..87c92b1c253621fa4fb6c98135aebb5eacba2af1 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-PDBEDIT_SRC = '''utils/pdbedit.c'''
-
 SMBGET_SRC = '''utils/smbget.c'''
 
 RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c
@@ -1275,14 +1273,13 @@ bld.SAMBA3_BINARY('smbpasswd',
                  PASSCHANGE''')
 
 bld.SAMBA3_BINARY('pdbedit',
-                 source=PDBEDIT_SRC,
+                 source='utils/pdbedit.c',
                  deps='''
                  talloc
                  param
                  popt_samba3
                  pdb
-                 PASSWD_UTIL''',
-                 vars=locals())
+                 PASSWD_UTIL''')
 
 bld.SAMBA3_BINARY('smbget',
                  source=SMBGET_SRC,