1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4-waf: follow the configure directories for the empty install dirs

Thanks to Metze for spotting this
This commit is contained in:
Andrew Tridgell 2010-04-19 21:54:40 +10:00
parent d25e1e15d3
commit 456351cdb1
2 changed files with 3 additions and 1 deletions

View File

@ -600,6 +600,8 @@ Build.BuildContext.INSTALL_WILDCARD = INSTALL_WILDCARD
def INSTALL_DIRS(bld, destdir, dirs):
'''install a set of directories'''
destdir = bld.EXPAND_VARIABLES(destdir)
dirs = bld.EXPAND_VARIABLES(dirs)
for d in TO_LIST(dirs):
bld.install_dir(os.path.join(destdir, d))
Build.BuildContext.INSTALL_DIRS = INSTALL_DIRS

View File

@ -118,4 +118,4 @@ bld.RECURSE('../pidl')
bld.RECURSE('../lib')
# install some extra empty directories
bld.INSTALL_DIRS("${PREFIX}", "etc var/lib var/locks var/run")
bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib")