build: removed mkdir of public headers directory
[samba.git] / 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,