summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <greg@mysql.com>2004-01-21 16:06:26 -0100
committerunknown <greg@mysql.com>2004-01-21 16:06:26 -0100
commita5b9966c0da16112a7d429872dd459471b64a355 (patch)
tree0ac4dee8f0af375ac305b9e8ac570d4598db6fcc /Build-tools
parentdb77cba56687f545a200283d3eb1044157f95e50 (diff)
downloadmariadb-git-a5b9966c0da16112a7d429872dd459471b64a355.tar.gz
Revise Windows build script, correct comment re NetWare in libmysql.c
Build-tools/Do-win-build: Copy logfile for pickup by Do-compile-win libmysql/libmysql.c: Comment was previously inaccurate
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/Do-win-build11
1 files changed, 7 insertions, 4 deletions
diff --git a/Build-tools/Do-win-build b/Build-tools/Do-win-build
index b446ba6f601..0885507588c 100755
--- a/Build-tools/Do-win-build
+++ b/Build-tools/Do-win-build
@@ -22,6 +22,7 @@ if (!$opt_builddir) {
$opt_tarball =~ /(mysql[^\/]*)-win-src\.tar/;
$mysqlver=$1;
$basedir = "$opt_builddir/$mysqlver";
+$scriptdir = `pwd`;
# Make sure build dir exists
mkdir($opt_builddir);
@@ -47,6 +48,8 @@ chdir($mysqlver);
system("\"$MSDEV\" mysql.dsw /MAKE \"ALL\" /OUT $mysqlver-build.log");
+system("cp $mysqlver-build.log $scriptdir");
+
#
# Print a help text message
#
@@ -55,10 +58,10 @@ sub print_help
print <<EOF;
Usage: Do-compile-win [options] source-tarball
-Unpacks a Windows source distribution on the local machine and
+Unpacks a Windows source distribution on the local machine and
compiles it using VC++ 6.0.
-This script is intended for Cygwin Perl. You must have a working
+This script is intended for Cygwin Perl. You must have a working
MSDEV.EXE in your path for compilation.
@@ -68,8 +71,8 @@ Options:
Print this text.
--builddir=<dir>
-Set the Cygwin path to build under; the tarball will actually
-be moved to <builddir>/mysql-<version>/tarball and extracted under
+Set the Cygwin path to build under; the tarball will actually
+be moved to <builddir>/mysql-<version>/tarball and extracted under
<builddir>/mysql-<version>/build.
Default: /cygdrive/c/mysql-win-build