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

index 0c81f82fcccfc7b28993d502954fc92454e8c767..abafe29fd0a0126a4f7b197fa01beefe877fb0e0 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-CUPS_SRC = '''client/smbspool.c'''
-
 NMBLOOKUP_SRC = '''utils/nmblookup.c'''
 
 SMBTORTURE_SRC1 = '''torture/torture.c torture/nbio.c torture/scanner.c torture/utable.c
@@ -1203,14 +1201,13 @@ bld.SAMBA3_BINARY('profiles',
                  REGFIO''')
 
 bld.SAMBA3_BINARY('smbspool',
-                 source=CUPS_SRC,
+                 source='client/smbspool.c',
                  deps='''
                  talloc
                  popt_samba3
                  param
                  libsmb
-                 samba3core''',
-                 vars=locals())
+                 samba3core''')
 
 bld.SAMBA3_BINARY('testparm',
                  source='utils/testparm.c',