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

index 14373a9c3c6cfb33f47ec17994a75894b052eb00..b61201104d14e0f1729dafd3f584a8a713fd2b5a 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-SPLIT_TOKENS_SRC = 'utils/split_tokens.c'
-
 LIBS='ICONV'
 
 config_h = "../include/config.h"
@@ -1411,12 +1409,11 @@ bld.SAMBA3_BINARY('dbwrap_torture',
                  install=False)
 
 bld.SAMBA3_BINARY('split_tokens',
-                 source=SPLIT_TOKENS_SRC,
+                 source='utils/split_tokens.c',
                  deps='''
                  talloc
                  popt_samba3''',
-                 install=False,
-                 vars=locals())
+                 install=False)
 
 bld.SAMBA3_BINARY('vlp',
                  source='printing/tests/vlp.c',