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:
parent
d25e1e15d3
commit
456351cdb1
@ -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
|
||||
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user