Transition to waf 1.8: replaced on_results by update_outputs
[martins/samba-autobuild/.git] / buildtools / wafsamba / samba_pidl.py
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,