summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_pidl.py
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.private>2010-03-24 10:54:31 +0100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:05 +1000
commit988bc0cdc2604b9d309af9895f3716e4bca59d47 (patch)
treebd6f764cdb1940b5fd46e254f6193013eebf6b5a /buildtools/wafsamba/samba_pidl.py
parent17f4485722d507f04e95c358d22570c499d14c62 (diff)
downloadsamba-988bc0cdc2604b9d309af9895f3716e4bca59d47.tar.gz
samba-988bc0cdc2604b9d309af9895f3716e4bca59d47.tar.bz2
samba-988bc0cdc2604b9d309af9895f3716e4bca59d47.zip
build: make use on_results=True for some build rules
This makes sure we generate a checksum over the result. In practice it means we no longer recompile when a proto header is triggers a rebuild if it hasn't changed its md5sum. metze
Diffstat (limited to 'buildtools/wafsamba/samba_pidl.py')
-rw-r--r--buildtools/wafsamba/samba_pidl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_pidl.py b/buildtools/wafsamba/samba_pidl.py
index 6e47686105..a56a6743de 100644
--- a/buildtools/wafsamba/samba_pidl.py
+++ b/buildtools/wafsamba/samba_pidl.py
@@ -57,6 +57,7 @@ def SAMBA_PIDL(bld, pname, source,
t = bld(rule='cd .. && ${PIDL} ${OPTIONS} --outputdir ${OUTPUTDIR} -- ${SRC[0].abspath(env)}',
ext_out = '.c',
before = 'cc',
+ on_results = True,
shell = True,
source = source,
target = out_files,
@@ -124,6 +125,7 @@ def SAMBA_PIDL_TABLES(bld, name, target):
rule = '${SRC} --output ${TGT} | sed "s|default/||" > ${TGT}',
ext_out = '.c',
before = 'cc',
+ on_results = True,
shell = True,
source = '../../librpc/tables.pl',
target = target,