From e3e1eada45d28fa2034919d1096c0437da80ecff Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 28 Feb 2011 18:55:52 +1100 Subject: talloc: use public_headers to install talloc.h and pytalloc.h this allows them to be included in the test_headers.h generated header --- lib/talloc/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/talloc') diff --git a/lib/talloc/wscript b/lib/talloc/wscript index e7cf83d893d..4080a8d582a 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -74,7 +74,6 @@ def build(bld): bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig' bld.env.TALLOC_VERSION = VERSION bld.PKG_CONFIG_FILES('talloc.pc', vnum=VERSION) - bld.INSTALL_FILES('${INCLUDEDIR}', 'talloc.h') private_library = False # should we also install the symlink to libtalloc1.so here? @@ -98,6 +97,7 @@ def build(bld): abi_match='talloc* _talloc*', hide_symbols=True, vnum=VERSION, + public_headers='talloc.h', private_library=private_library, manpages='talloc.3') @@ -109,8 +109,8 @@ def build(bld): pyext=True, vnum=VERSION, private_library=private_library, + public_headers='pytalloc.h' ) - bld.INSTALL_FILES('${INCLUDEDIR}', 'pytalloc.h') bld.SAMBA_PYTHON('pytalloc', 'pytalloc.c', deps='talloc pytalloc-util', -- cgit v1.2.1