summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-03 16:30:33 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:19 +1100
commit6c6ab50a40853c0d5d552967bccf11a16ecfc913 (patch)
tree9f8646f714eea3e7756cb448b1058ad8df467b93 /buildtools/wafsamba/wafsamba.py
parent5ca9db07f5580ca5285fbdbc307fa225e923fda1 (diff)
downloadsamba-6c6ab50a40853c0d5d552967bccf11a16ecfc913.tar.gz
samba-6c6ab50a40853c0d5d552967bccf11a16ecfc913.tar.bz2
samba-6c6ab50a40853c0d5d552967bccf11a16ecfc913.zip
waf: build substituted public headers in build tree
the bin/default/include/public directory will contain headers that are ready to install
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 91cd2839db..181bbae333 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -537,6 +537,7 @@ Build.BuildContext.SAMBA_SUBSYSTEM = SAMBA_SUBSYSTEM
def SAMBA_GENERATOR(bld, name, rule, source='', target='',
group='generators', enabled=True,
public_headers=None,
+ public_headers_install=True,
header_path=None,
vars=None,
always=False):
@@ -565,7 +566,8 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='',
t.always = True
if public_headers is not None:
- bld.PUBLIC_HEADERS(public_headers, header_path=header_path)
+ bld.PUBLIC_HEADERS(public_headers, header_path=header_path,
+ public_headers_install=public_headers_install)
return t
Build.BuildContext.SAMBA_GENERATOR = SAMBA_GENERATOR