]> git.samba.org - samba.git/commitdiff
Transition to waf 1.8: replaced on_results by update_outputs
authorThomas Nagy <tnagy2pow10@gmail.com>
Sat, 7 Mar 2015 14:31:18 +0000 (15:31 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 16 Mar 2015 02:00:07 +0000 (03:00 +0100)
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_autoproto.py
buildtools/wafsamba/samba_pidl.py
buildtools/wafsamba/wafsamba.py
source4/heimdal_build/wscript_build

index 2d8ea546ab2a594ddb69a8cf179dbb04c27321b6..bad627aa4dec33ec514fc7daa6bf774bb161c77d 100644 (file)
@@ -13,7 +13,7 @@ def SAMBA_AUTOPROTO(bld, header, source):
         name = name,
         source = source,
         target = header,
-        on_results=True,
+        update_outputs=True,
         ext_out='.c',
         before ='cc',
         rule = '${PERL} "${SCRIPT}/mkproto.pl" --srcdir=.. --builddir=. --public=/dev/null --private="${TGT}" ${SRC}'
index 2393c72c6925a077f47ea2c363a0a767bc0637db..110b15e98fe7f9393800047381531e0b0220bf0e 100644 (file)
@@ -78,7 +78,7 @@ def SAMBA_PIDL(bld, pname, source,
     t = bld(rule='cd .. && %s %s ${PERL} "${PIDL}" --quiet ${OPTIONS} --outputdir ${OUTPUTDIR} -- "${SRC[0].abspath(env)}"' % (cpp, cc),
             ext_out    = '.c',
             before     = 'cc',
-            on_results = True,
+            update_outputs = True,
             shell      = True,
             source     = source,
             target     = out_files,
@@ -135,7 +135,7 @@ def SAMBA_PIDL_TABLES(bld, name, target):
             rule     = '${PERL} ${SRC} --output ${TGT} | sed "s|default/||" > ${TGT}',
             ext_out  = '.c',
             before   = 'cc',
-            on_results = True,
+            update_outputs = True,
             shell    = True,
             source   = '../../librpc/tables.pl',
             target   = target,
index c05431568ab41fa23b2f1a2fea8f83f2ebec63b4..c423e6025ff491c3ab9abe4e484cf0b7cc1fe370 100644 (file)
@@ -638,7 +638,7 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='',
         source=bld.EXPAND_VARIABLES(source, vars=vars),
         target=target,
         shell=isinstance(rule, str),
-        on_results=True,
+        update_outputs=True,
         before='cc',
         ext_out='.c',
         samba_type='GENERATOR',
index 0eb1e38d3860ed43a2cc6f889aab686e77402bcc..99345ec1de6c1d1e1a843cc290da10fb4c4acfeb 100644 (file)
@@ -70,7 +70,7 @@ def HEIMDAL_ASN1(name, source,
     t = bld(rule=asn1_rule,
             ext_out = '.x',
             before = 'cc',
-            on_results = True,
+            update_outputs = True,
             shell = True,
             source = source,
             target = out_files,
@@ -92,7 +92,7 @@ def HEIMDAL_ASN1(name, source,
             source = out_files[0],
             target = cfile,
             shell = True,
-            on_results=True,
+            update_outputs=True,
             ext_out = '.c',
             ext_in = '.x',
             depends_on = name + '_ASN1',
@@ -103,7 +103,7 @@ def HEIMDAL_ASN1(name, source,
             source = out_files[1],
             ext_out = '.c',
             ext_in = '.x',
-            on_results=True,
+            update_outputs=True,
             target = hfile,
             depends_on = name + '_ASN1',
             name = name + '_H')
@@ -113,7 +113,7 @@ def HEIMDAL_ASN1(name, source,
             source = out_files[2],
             ext_out = '.c',
             ext_in = '.x',
-            on_results=True,
+            update_outputs=True,
             target = hpriv,
             depends_on = name + '_ASN1',
             name = name + '_PRIV_H')
@@ -158,7 +158,7 @@ def HEIMDAL_ERRTABLE(name, source):
     t = bld(rule='"${SRC[1].abspath(env)}" "${TGT[0].parent.abspath(env)}" "${COMPILE_ET}" "${SRC[0].abspath(env)}" ${TGT[0].bldpath(env)}',
             ext_out = '.c',
             before  = 'cc',
-            on_results = True,
+            update_outputs = True,
             shell   = True,
             source  = sources,
             target  = out_files,
@@ -176,7 +176,7 @@ def HEIMDAL_AUTOPROTO(header, source, options=None, group='prototypes'):
     t = bld(rule='${PERL} "${HEIMDAL}/cf/make-proto.pl" ${OPTIONS} "${TGT[0].abspath(env)}" ${SRC}',
             source=source,
             target=header,
-            on_results=True,
+            update_outputs=True,
             ext_out='.c',
             before='cc')
     t.env.HEIMDAL = os.path.join(bld.srcnode.abspath(), 'source4/heimdal')
@@ -201,7 +201,7 @@ def HEIMDAL_GENERATOR(name, rule, source='', target='',
         source=source,
         target=target,
         shell=isinstance(rule, str),
-        on_results=True,
+        update_outputs=True,
         before='cc',
         ext_out='.c',
         vars=[rule],