From: Andrew Tridgell Date: Mon, 28 Feb 2011 07:55:12 +0000 (+1100) Subject: wafsamba: keep a list of public headers X-Git-Tag: samba-3.6.0pre2~472 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=03aebc2df870803ad6f80eb7595b55254d5ccfc5;p=samba.git wafsamba: keep a list of public headers this will be used to construct test_headers.h, for testing our public headers --- diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 1b38796a584..1ad816e0b52 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -925,7 +925,9 @@ def PUBLIC_HEADERS(bld, public_headers, header_path=None): rule=symlink_header, source=h_name, target=target) - + if not bld.env.public_headers_list: + bld.env.public_headers_list = [] + bld.env.public_headers_list.append(os.path.join(inst_path, inst_name)) return ret Build.BuildContext.PUBLIC_HEADERS = PUBLIC_HEADERS