summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-19 21:00:36 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-19 21:00:36 +1000
commitdb0eb2f239c9bbd3aeff06eee31102830eb42f11 (patch)
treea32988e0540fe6be5ef68fb0cfc48b5e1ea2752e /buildtools/wafsamba
parentd2b35c3a24b9bae88b996f8bc70e6a6012fd16f5 (diff)
downloadsamba-db0eb2f239c9bbd3aeff06eee31102830eb42f11.tar.gz
samba-db0eb2f239c9bbd3aeff06eee31102830eb42f11.tar.bz2
samba-db0eb2f239c9bbd3aeff06eee31102830eb42f11.zip
s4-waf: install some missing empty directories
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index a750a161c9..c3dd32c97d 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -598,6 +598,13 @@ def INSTALL_WILDCARD(bld, destdir, pattern, chmod=O644, flat=False,
Build.BuildContext.INSTALL_WILDCARD = INSTALL_WILDCARD
+def INSTALL_DIRS(bld, destdir, dirs):
+ '''install a set of directories'''
+ for d in TO_LIST(dirs):
+ bld.install_dir(os.path.join(destdir, d))
+Build.BuildContext.INSTALL_DIRS = INSTALL_DIRS
+
+
def PUBLIC_HEADERS(bld, public_headers, header_path=None):
'''install some headers