summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-19 04:57:29 +0200
committerunknown <monty@donna.mysql.com>2001-01-19 04:57:29 +0200
commit67891255f5d99c36832e54373fabfcfa758aa979 (patch)
treee6062d0caaa582f6d8fee0a4660b1e970681da48 /scripts
parente6b408608630b52955da5e76e5240e1da878f080 (diff)
downloadmariadb-git-67891255f5d99c36832e54373fabfcfa758aa979.tar.gz
Added MYSQL_SERVER_SUFFIX to mysqld
Fixed bug in TRIM changed strnmov -> strmake BUILD/SETUP.sh: Removed --disable-shared Docs/manual.texi: Changelog Installing many servers acinclude.m4: Force use of db-3.2.3h client/mysql.cc: cleanup mysql-test/r/func_str.result: Added new TRIM test mysql-test/t/func_str.test: Added new TRIM test mysys/charset.c: change to use strmake instead of strnmov mysys/mf_format.c: change to use strmake instead of strnmov mysys/mf_tempfile.c: change to use strmake instead of strnmov scripts/make_binary_distribution.sh: Removed error messages for missing files sql/handler.cc: More debug sql/item_strfunc.cc: Fixed bug in TRIM() sql/mysqld.cc: Added MYSQL_SERVER_SUFFIX to mysqld
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_binary_distribution.sh32
1 files changed, 25 insertions, 7 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh
index 14c4b616dec..3f8e497e511 100644
--- a/scripts/make_binary_distribution.sh
+++ b/scripts/make_binary_distribution.sh
@@ -38,7 +38,7 @@ fi
# This should really be integrated with automake and not duplicate the
# installation list.
-BASE=$TMP/my_dist
+BASE=$TMP/my_dist$SUFFIX
if [ -d $BASE ] ; then
rm -r -f $BASE
@@ -59,10 +59,28 @@ do
done
for i in extra/comp_err extra/replace extra/perror extra/resolveip \
- extra/my_print_defaults isam/isamchk isam/pack_isam myisam/myisamchk myisam/myisampack sql/mysqld sql/mysqlbinlog \
- client/mysql sql/mysqld sql/mysqld.sym.gz client/mysqlshow \
- client/mysqladmin client/mysqldump client/mysqlimport client/mysqltest \
- client/.libs/mysql client/.libs/mysqlshow client/.libs/mysqladmin client/.libs/mysqldump client/.libs/mysqlimport client/.libs/mysqltest
+ extra/my_print_defaults isam/isamchk isam/pack_isam myisam/myisamchk \
+ myisam/myisampack sql/mysqld sql/mysqlbinlog \
+ client/mysql sql/mysqld client/mysqlshow \
+ client/mysqladmin client/mysqldump client/mysqlimport client/mysqltest \
+ client/.libs/mysql client/.libs/mysqlshow client/.libs/mysqladmin \
+ client/.libs/mysqldump client/.libs/mysqlimport client/.libs/mysqltest
+do
+ if [ -f $i ]
+ then
+ cp -p $i $BASE/bin
+ strip $BASE/bin
+ fi
+done
+
+for i in sql/mysqld.sym.gz
+ if [ -f $i ]
+ then
+ cp -p $i $BASE/bin
+ fi
+done
+
+for i in libmysql/.libs/libmysqlclient.a libmysql/.libs/libmysqlclient.so* libmysql/libmysqlclient.* libmysql_r/.libs/libmysqlclient_r.a libmysql_r/.libs/libmysqlclient_r.so* libmysql_r/libmysqlclient_r.* mysys/libmysys.a strings/libmystrings.a dbug/libdbug.a $BASE/lib
do
if [ -f $i ]
then
@@ -75,7 +93,7 @@ rm $BASE/include/Makefile*; rm $BASE/include/*.in
cp -p tests/*.res tests/*.tst tests/*.pl $BASE/tests
cp -p support-files/* $BASE/support-files
-cp -p libmysql/.libs/libmysqlclient.a libmysql/.libs/libmysqlclient.so* libmysql/libmysqlclient.* libmysql_r/.libs/libmysqlclient_r.a libmysql_r/.libs/libmysqlclient_r.so* libmysql_r/libmysqlclient_r.* mysys/libmysys.a strings/libmystrings.a dbug/libdbug.a $BASE/lib
+
cp -r -p sql/share/* $BASE/share/mysql
rm -f $BASE/share/mysql/Makefile* $BASE/share/mysql/*/*.OLD
@@ -106,7 +124,7 @@ if [ -d $BASE/sql-bench/SCCS ] ; then
fi
# Change the distribution to a long descriptive name
-NEW_NAME=mysql-$version-$system-$machine$SUFFIX
+NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-$version-$system-$machine$SUFFIX
BASE2=$TMP/$NEW_NAME
rm -r -f $BASE2
mv $BASE $BASE2