diff options
author | Martin Schwenke <martin@meltin.net> | 2014-08-29 21:17:30 +1000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-10-06 14:56:06 +0200 |
commit | 88b24858d887278f4787081dacff2409259fcf42 (patch) | |
tree | b36c0eab65a9e5166ee08ddf0dd14e6f6d515100 /ctdb/wscript | |
parent | 59c30257064518aae117784f02ba73bc3221bec6 (diff) | |
download | samba-88b24858d887278f4787081dacff2409259fcf42.tar.gz |
ctdb-build: Fix handling of public headers
Add the header munging, add/package ctdb_version.h, create
directory include/public.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Oct 6 14:56:07 CEST 2014 on sn-devel-104
Diffstat (limited to 'ctdb/wscript')
-rwxr-xr-x | ctdb/wscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index 3858ac7b667..2802b787a93 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -218,6 +218,9 @@ def configure(conf): def build(bld): + # enable building of public headers in the build tree + bld.env.build_public_headers = 'include/public' + t = bld.SAMBA_GENERATOR('ctdb-version-header', target='include/ctdb_version.h', rule='../packaging/mkversion.sh ${TGT} %s' % (VERSION), @@ -326,7 +329,8 @@ def build(bld): ctdb_update_record.c ctdb_lock.c'''), includes='include include/internal', - public_headers='''include/ctdb.h + public_headers='''include/ctdb_version.h + include/ctdb.h include/ctdb_private.h include/ctdb_protocol.h include/ctdb_typesafe_cb.h''', |