wafsamba: keep a list of public headers
authorAndrew Tridgell <tridge@samba.org>
Mon, 28 Feb 2011 07:55:12 +0000 (18:55 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Mar 2011 01:22:18 +0000 (12:22 +1100)
this will be used to construct test_headers.h, for testing our public
headers

buildtools/wafsamba/wafsamba.py

index 1b38796a58499dd34d593dd1c50fd73771e1684b..1ad816e0b523df124c0e66bed345fec767a106e0 100644 (file)
@@ -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