summaryrefslogtreecommitdiff
path: root/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-28 15:48:25 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:18 +1100
commit4f52becec1769e9378cf8de1ec13ee83d9b96f55 (patch)
tree96ddb3aef3535f09e67cf6fdafb805839b7f7dc6 /wscript_build
parentb7b2426fe3ac091f0f8705d82ac212a099d075cc (diff)
downloadsamba-4f52becec1769e9378cf8de1ec13ee83d9b96f55.tar.gz
build: install public headers in the build tree
this symlinks our public headers into the build tree, which will allow us to refer to the public headers by their public name inside the source tree.
Diffstat (limited to 'wscript_build')
-rw-r--r--wscript_build3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript_build b/wscript_build
index 318020c1ea8..ba474991266 100644
--- a/wscript_build
+++ b/wscript_build
@@ -17,6 +17,9 @@ bld.env.suffix3 = "3"
bld.SETUP_BUILD_GROUPS()
bld.AUTOCLEANUP_STALE_FILES()
+# enable building of public headers in the build tree
+bld.env.build_public_headers = 'include/public'
+
samba_version.load_version(bld.env)
bld.SAMBA_MKVERSION('version.h')