build: removed mkdir of public headers directory
authorAndrew Tridgell <tridge@samba.org>
Tue, 8 Mar 2011 05:43:49 +0000 (16:43 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Mar 2011 01:22:20 +0000 (12:22 +1100)
not needed now that we have public_headers_allow_broken

buildtools/wafsamba/samba_headers.py

index cabafd1fd206cfd93b6cddf402060412199e1b20..8a7ab01d0df1a38f5e9b859fc1293d7a128cfafc 100644 (file)
@@ -141,13 +141,6 @@ def PUBLIC_HEADERS(bld, public_headers, header_path=None, public_headers_install
 
         header_map[src_path] = target_path
 
-        build_dir = os.path.join(bld.bldnode.abspath(),
-                                 'default',
-                                 bld.env.build_public_headers,
-                                 inst_path)
-        if not os.path.exists(build_dir):
-            mkdir_p(build_dir)
-
         t = bld.SAMBA_GENERATOR('HEADER_%s/%s/%s' % (relpath2, inst_path, inst_name),
                                 group='headers',
                                 rule=create_public_header,