git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0e539
)
wafsamba: keep a list of public headers
author
Andrew Tridgell
<tridge@samba.org>
Mon, 28 Feb 2011 07:55:12 +0000
(18:55 +1100)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wafsamba.py
b/buildtools/wafsamba/wafsamba.py
index 1b38796a58499dd34d593dd1c50fd73771e1684b..1ad816e0b523df124c0e66bed345fec767a106e0 100644
(file)
--- 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