summaryrefslogtreecommitdiff
path: root/scripts/make_binary_distribution.sh
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-08-12 23:21:21 +0200
committerunknown <lenz@mysql.com>2003-08-12 23:21:21 +0200
commit965050afc9340a108a389ada8e3ecea948da1302 (patch)
tree44a4eddc4d437c0a0ca5a9a17645ae32a7ce628d /scripts/make_binary_distribution.sh
parent78f2ed2cfbdbad99eb12f77990a8cdd34ad772e7 (diff)
downloadmariadb-git-965050afc9340a108a389ada8e3ecea948da1302.tar.gz
- enabled embedded server in the binary distributions by default
(Do-compile) - added mysql.info to the binary distribution files (BUG#1019) - heavily reworked the Do-rpm script to be more in line with Do-pkg - create a "docs" subdirectory in the binary distribution and moved the manual, ChangeLog and mysql.info file into it to unclutter the top directory Build-tools/Do-compile: - enable compiling with the embedded server by default (as requested by BrianA) - disable it with the "--disable-embedded" compile option. Build-tools/Do-rpm: - replaced the original Shell script with a Perl script, similar to Do-pkg. Some more work remains to be done (copying the resulting packages, enable using different compile flags and compilers). scripts/make_binary_distribution.sh: - move some docs into a subdirectory "docs" to not clutter the top directory with too many files. - added mysql.info info file to the docs dir (BUG#1019)
Diffstat (limited to 'scripts/make_binary_distribution.sh')
-rw-r--r--scripts/make_binary_distribution.sh19
1 files changed, 15 insertions, 4 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh
index 73aa95a1100..8735fc800ce 100644
--- a/scripts/make_binary_distribution.sh
+++ b/scripts/make_binary_distribution.sh
@@ -61,7 +61,7 @@ case $system in
esac
-mkdir $BASE $BASE/bin \
+mkdir $BASE $BASE/bin $BASE/docs \
$BASE/include $BASE/lib $BASE/support-files $BASE/share $BASE/scripts \
$BASE/mysql-test $BASE/mysql-test/t $BASE/mysql-test/r \
$BASE/mysql-test/include $BASE/mysql-test/std_data
@@ -73,9 +73,20 @@ if [ $BASE_SYSTEM != "netware" ] ; then
chmod o-rwx $BASE/data $BASE/data/*
fi
-for i in ChangeLog COPYING COPYING.LIB README Docs/INSTALL-BINARY \
- MySQLEULA.txt Docs/manual.html Docs/manual.txt Docs/manual_toc.html \
- LICENSE.doc README.NW Docs/mysqlbug.txt
+for i in ChangeLog \
+ Docs/manual.html \
+ Docs/manual.txt \
+ Docs/manual_toc.html \
+ Docs/mysql.info
+do
+ if [ -f $i ]
+ then
+ $CP $i $BASE/docs
+ fi
+done
+
+for i in COPYING COPYING.LIB README Docs/INSTALL-BINARY \
+ MySQLEULA.txt LICENSE.doc README.NW
do
if [ -f $i ]
then