From: Martin Schwenke Date: Sun, 9 Sep 2018 10:34:31 +0000 (+1000) Subject: ctdb-build: Use wafsamba's INSTALL_DIR() X-Git-Tag: tdb-1.3.17~1660 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a122428a585281ebaf0135f11bd9377af9f6ab97;p=thirdparty%2Fsamba.git ctdb-build: Use wafsamba's INSTALL_DIR() install_dir() doesn't work (doesn't respect $DESTDIR) and is only available for backward compatibilty. Signed-off-by: Martin Schwenke Reviewed-by: Alexander Bokovoy --- diff --git a/ctdb/wscript b/ctdb/wscript index 59deb8cce09..06cc1542f78 100644 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -861,12 +861,12 @@ def build(bld): 'config/notification.README', destname='README') - bld.install_dir(bld.env.CTDB_LOGDIR) - bld.install_dir(bld.env.CTDB_RUNDIR) - bld.install_dir(bld.env.CTDB_VARDIR) + bld.INSTALL_DIR(bld.env.CTDB_LOGDIR) + bld.INSTALL_DIR(bld.env.CTDB_RUNDIR) + bld.INSTALL_DIR(bld.env.CTDB_VARDIR) for d in ['volatile', 'persistent', 'state']: - bld.install_dir(os.path.join(bld.env.CTDB_VARDIR, d)) + bld.INSTALL_DIR(os.path.join(bld.env.CTDB_VARDIR, d)) bld.SAMBA_BINARY('errcode', source='tests/src/errcode.c',