1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4-waf: install some missing empty directories

This commit is contained in:
Andrew Tridgell 2010-04-19 21:00:36 +10:00
parent d2b35c3a24
commit db0eb2f239
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -116,3 +116,6 @@ bld.RECURSE('setup')
bld.RECURSE('scripting')
bld.RECURSE('../pidl')
bld.RECURSE('../lib')
# install some extra empty directories
bld.INSTALL_DIRS("${PREFIX}", "etc var/lib var/locks var/run")