build: list sources of binary profiles directly in def, remov vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 06:58:56 +0000 (08:58 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:24:01 +0000 (20:24 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 8add31a8a239e67a24cb176f5ea8982354087ea8..ed5e837214eb058b61bcc10418f9c7f51431f90b 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-PROFILES_SRC = '''utils/profiles.c'''
-
 OPLOCK_SRC = '''smbd/oplock.c smbd/oplock_irix.c smbd/oplock_linux.c'''
 
 NOTIFY_SRC = '''smbd/notify.c smbd/notify_inotify.c smbd/notify_internal.c'''
@@ -1211,13 +1209,12 @@ bld.SAMBA3_BINARY('net',
                  vars=locals())
 
 bld.SAMBA3_BINARY('profiles',
-                 source=PROFILES_SRC,
+                 source='utils/profiles.c',
                  deps='''
                  talloc
                  popt_samba3
                  param
-                 REGFIO''',
-                 vars=locals())
+                 REGFIO''')
 
 bld.SAMBA3_BINARY('smbspool',
                  source=CUPS_SRC,