tevent: use public_headers for tevent.h
authorAndrew Tridgell <tridge@samba.org>
Mon, 28 Feb 2011 07:56:05 +0000 (18:56 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Mar 2011 01:22:18 +0000 (12:22 +1100)
lib/tevent/wscript

index 7ccaf0acdb49a631d754357a10a464d38826c608..c57b65a42523ded52311774e13ce31ce0c49fed5 100644 (file)
@@ -70,7 +70,6 @@ def build(bld):
     if bld.env.standalone_tevent:
         bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
         bld.PKG_CONFIG_FILES('tevent.pc', vnum=VERSION)
-        bld.INSTALL_FILES('${INCLUDEDIR}', 'tevent.h')
         private_library = False
     else:
         private_library = True
@@ -84,6 +83,7 @@ def build(bld):
                           abi_directory='ABI',
                           abi_match='tevent_* _tevent_*',
                           vnum=VERSION,
+                          public_headers='tevent.h',
                           private_library=private_library)
 
     bld.SAMBA_PYTHON('pytevent',