summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 09:57:41 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:26:10 +0200
commit351bf39de49ddf88a15b4b9b91e24d110c69f84d (patch)
treead76b669f95f18c275e9c4a997f966f1c84c199d /source3/wscript_build
parent02b3eed4924cdc1f0183dc238556f66afbd0ea81 (diff)
downloadsamba-351bf39de49ddf88a15b4b9b91e24d110c69f84d.tar.gz
samba-351bf39de49ddf88a15b4b9b91e24d110c69f84d.tar.bz2
samba-351bf39de49ddf88a15b4b9b91e24d110c69f84d.zip
build: list source of binary eventlogadm directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 4217ed2180..39c4c2b2dd 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,10 +3,6 @@
from samba_utils import *
import samba_version, samba3
-EVTLOGADM_SRC0 = 'utils/eventlogadm.c'
-
-EVTLOGADM_SRC = '''${EVTLOGADM_SRC0}'''
-
SHARESEC_SRC0 = 'utils/sharesec.c'
SHARESEC_SRC = '''${SHARESEC_SRC0}'''
@@ -1325,12 +1321,11 @@ bld.SAMBA3_BINARY('smbcquotas',
libcli_lsa3''')
bld.SAMBA3_BINARY('eventlogadm',
- source=EVTLOGADM_SRC,
+ source='utils/eventlogadm.c',
deps='''
talloc
param
- LIBEVENTLOG''',
- vars=locals())
+ LIBEVENTLOG''')
bld.SAMBA3_BINARY('sharesec',
source=SHARESEC_SRC,