1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

several ndb make changes, see respective file

This commit is contained in:
tomas@poseidon.bredbandsbolaget.se
2004-06-02 00:54:58 +00:00
parent 308f40bb98
commit 8d7d4c077b
71 changed files with 275 additions and 301 deletions

View File

@ -267,14 +267,14 @@ fi
# NDB Cluster
if [ x$NDBCLUSTER = x1 ]; then
if [ ! -f ndb/BinDist.sh ]; then
echo "Missing ndb/BinDist.sh"; exit 1
fi
mkdir $BASE/ndb || exit 1
# assume we have cpio..
if (cd ndb && sh BinDist.sh | cpio -pdm $BASE/ndb); then :; else
echo "Copy failed - missing files in ndb/BinDist.sh ?"; exit 1
fi
( cd ndb ; make DESTDIR=$BASE/ndb-stage install )
( cd mysql-test/ndb ; make DESTDIR=$BASE/ndb-stage install )
$CP $BASE/ndb-stage@bindir@/* $BASE/bin/.
$CP $BASE/ndb-stage@libexecdir@/* $BASE/bin/.
$CP $BASE/ndb-stage@pkglibdir@/* $BASE/lib/.
$CP -r $BASE/ndb-stage@pkgincludedir@/ndb $BASE/lib/.
$CP -r $BASE/ndb-stage@prefix@/mysql-test/ndb $BASE/mysql-test/. || exit 1
rm -rf $BASE/ndb-stage
fi
# Change the distribution to a long descriptive name