From 988bc0cdc2604b9d309af9895f3716e4bca59d47 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 24 Mar 2010 10:54:31 +0100 Subject: 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 --- buildtools/wafsamba/samba_autoproto.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildtools/wafsamba/samba_autoproto.py') diff --git a/buildtools/wafsamba/samba_autoproto.py b/buildtools/wafsamba/samba_autoproto.py index a2a103d1cf..7e003cbf3f 100644 --- a/buildtools/wafsamba/samba_autoproto.py +++ b/buildtools/wafsamba/samba_autoproto.py @@ -11,6 +11,7 @@ def HEIMDAL_AUTOPROTO(bld, header, source, options=None, group='prototypes'): t = bld(rule='${PERL} -W ../heimdal/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}', source=source, target=header, + on_results=True, ext_out='.c', before='cc') t.env.OPTIONS = options @@ -27,6 +28,7 @@ def SAMBA_AUTOPROTO(bld, header, source): bld( source = source, target = header, + on_results=True, ext_out='.c', before ='cc', rule = '../script/mkproto.pl --srcdir=.. --builddir=. --public=/dev/null --private=${TGT} ${SRC}' -- cgit