diff options
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 7 |
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 |