Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2d368697
Commit
2d368697
authored
May 16, 2007
by
joerg@trift2
Browse files
Options
Browse Files
Download
Plain Diff
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-build
into trift2.:/MySQL/M51/push-5.1
parents
6bf66552
bdc7bcd1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
scripts/make_win_bin_dist
scripts/make_win_bin_dist
+18
-18
No files found.
scripts/make_win_bin_dist
View file @
2d368697
...
@@ -39,7 +39,7 @@ The "package-base-name" argument should be something like
...
@@ -39,7 +39,7 @@ The "package-base-name" argument should be something like
mysql-noinstall-5.0.25-win32 (or winx64)
mysql-noinstall-5.0.25-win32 (or winx64)
and will be the name of the directory of the unpacked ZIP (stripping
and will be
come
the name of the directory of the unpacked ZIP (stripping
away the "noinstall" part of the ZIP file name if any) and the base
away the "noinstall" part of the ZIP file name if any) and the base
for the resulting package name.
for the resulting package name.
...
@@ -51,6 +51,7 @@ Options are
...
@@ -51,6 +51,7 @@ Options are
--no-embedded Don't pack the embedded server even if built
--no-embedded Don't pack the embedded server even if built
--debug Pack the debug binaries and give error if not built.
--debug Pack the debug binaries and give error if not built.
The default is to pack them if they are built.
--no-debug Don't pack the debug binaries even if built
--no-debug Don't pack the debug binaries even if built
...
@@ -58,10 +59,10 @@ Options are
...
@@ -58,10 +59,10 @@ Options are
want to replace the normal binaries with debug
want to replace the normal binaries with debug
versions, i.e. no separate "debug" directories.
versions, i.e. no separate "debug" directories.
--exe-suffix=SUF Add a suffix to the "mysqld" binary.
--exe-suffix=SUF Add a suffix to the
filename part of the
"mysqld" binary.
As you might want to include files of directories from other builds
As you might want to include files of directories from other builds
(like a "mysqld-max.exe" server), you can instruct this script
d
o copy
(like a "mysqld-max.exe" server), you can instruct this script
t
o copy
them in for you. This is the "copy-def" arguments, and they are of the
them in for you. This is the "copy-def" arguments, and they are of the
form
form
...
@@ -165,8 +166,8 @@ then
...
@@ -165,8 +166,8 @@ then
cp
sql/
$TARGET
/mysqld.pdb
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.pdb
cp
sql/
$TARGET
/mysqld.pdb
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.pdb
fi
fi
if
[
x
"
$PACK_DEBUG
"
=
""
-a
-f
"sql/debug/mysqld.exe"
-o
\
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"sql/debug/mysqld.exe"
-o
\
x
"
$PACK_DEBUG
"
=
"yes"
]
;
then
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
cp
sql/debug/mysqld.exe
$DESTDIR
/bin/mysqld-debug.exe
cp
sql/debug/mysqld.exe
$DESTDIR
/bin/mysqld-debug.exe
cp
sql/debug/mysqld.pdb
$DESTDIR
/bin/mysqld-debug.pdb
cp
sql/debug/mysqld.pdb
$DESTDIR
/bin/mysqld-debug.pdb
cp
sql/debug/mysqld.map
$DESTDIR
/bin/mysqld-debug.map
cp
sql/debug/mysqld.map
$DESTDIR
/bin/mysqld-debug.map
...
@@ -212,8 +213,8 @@ copy_embedded()
...
@@ -212,8 +213,8 @@ copy_embedded()
cp
libmysqld/
$TARGET
/libmysqld.exp
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.exp
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.lib
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.lib
$DESTDIR
/Embedded/DLL/release/
if
[
x
"
$PACK_DEBUG
"
=
""
-a
-f
"libmysqld/debug/libmysqld.lib"
-o
\
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysqld/debug/libmysqld.lib"
-o
\
x
"
$PACK_DEBUG
"
=
"yes"
]
;
then
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
mkdir
-p
$DESTDIR
/Embedded/DLL/debug
mkdir
-p
$DESTDIR
/Embedded/DLL/debug
cp
libmysqld/debug/libmysqld.dll
$DESTDIR
/Embedded/DLL/debug/
cp
libmysqld/debug/libmysqld.dll
$DESTDIR
/Embedded/DLL/debug/
cp
libmysqld/debug/libmysqld.exp
$DESTDIR
/Embedded/DLL/debug/
cp
libmysqld/debug/libmysqld.exp
$DESTDIR
/Embedded/DLL/debug/
...
@@ -221,10 +222,10 @@ copy_embedded()
...
@@ -221,10 +222,10 @@ copy_embedded()
fi
fi
}
}
if
[
x
"
$PACK_EMBEDDED
"
=
""
-a
\
if
[
x
"
$PACK_EMBEDDED
"
=
x
""
-a
\
-f
"libmysqld/
$TARGET
/mysqlserver.lib"
-a
\
-f
"libmysqld/
$TARGET
/mysqlserver.lib"
-a
\
-f
"libmysqld/
$TARGET
/libmysqld.lib"
-o
\
-f
"libmysqld/
$TARGET
/libmysqld.lib"
-o
\
x
"
$PACK_EMBEDDED
"
=
"yes"
]
;
then
x
"
$PACK_EMBEDDED
"
=
x
"yes"
]
;
then
copy_embedded
copy_embedded
fi
fi
...
@@ -237,8 +238,8 @@ cp libmysql/mytest.c libmysql/myTest.vcproj libmysql/$TARGET/myTest.exe \
...
@@ -237,8 +238,8 @@ cp libmysql/mytest.c libmysql/myTest.vcproj libmysql/$TARGET/myTest.exe \
$DESTDIR
/examples/libmysqltest/
$DESTDIR
/examples/libmysqltest/
cp
libmysql/
$TARGET
/myTest.exe
$DESTDIR
/examples/libmysqltest/release/
cp
libmysql/
$TARGET
/myTest.exe
$DESTDIR
/examples/libmysqltest/release/
if
[
x
"
$PACK_DEBUG
"
=
""
-a
-f
"libmysql/debug/myTest.exe"
-o
\
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysql/debug/myTest.exe"
-o
\
x
"
$PACK_DEBUG
"
=
"yes"
]
;
then
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
mkdir
-p
$DESTDIR
/examples/libmysqltest/debug
mkdir
-p
$DESTDIR
/examples/libmysqltest/debug
cp
libmysql/debug/myTest.exe
$DESTDIR
/examples/libmysqltest/debug/
cp
libmysql/debug/myTest.exe
$DESTDIR
/examples/libmysqltest/debug/
fi
fi
...
@@ -282,8 +283,8 @@ cp libmysql/$TARGET/libmysql.dll \
...
@@ -282,8 +283,8 @@ cp libmysql/$TARGET/libmysql.dll \
strings/
$TARGET
/strings.lib
\
strings/
$TARGET
/strings.lib
\
zlib/
$TARGET
/zlib.lib
$DESTDIR
/lib/opt/
zlib/
$TARGET
/zlib.lib
$DESTDIR
/lib/opt/
if
[
x
"
$PACK_DEBUG
"
=
""
-a
-f
"libmysql/debug/libmysql.lib"
-o
\
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysql/debug/libmysql.lib"
-o
\
x
"
$PACK_DEBUG
"
=
"yes"
]
;
then
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
mkdir
-p
$DESTDIR
/lib/debug
mkdir
-p
$DESTDIR
/lib/debug
cp
libmysql/debug/libmysql.dll
\
cp
libmysql/debug/libmysql.dll
\
libmysql/debug/libmysql.lib
\
libmysql/debug/libmysql.lib
\
...
@@ -336,12 +337,11 @@ fi
...
@@ -336,12 +337,11 @@ fi
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Copy what could be usable in the "scripts" directory. Currently
# Copy what could be usable in the "scripts" directory. Currently
# only SQL files, others are
b
ourne shell scripts or Perl scripts
# only SQL files, others are
B
ourne shell scripts or Perl scripts
# not really usable on Windows.
# not really usable on Windows.
#
#
# But to be nice to the few Cygwin users we might have in 5.0 we
# But to be nice to the few Cygwin users we might have in 5.0 we
# continue to copy the stuff, but don't include it include it in
# continue to copy the stuff, but don't include it in the WiX install.
# the WiX install.
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
mkdir
-p
$DESTDIR
/scripts
mkdir
-p
$DESTDIR
/scripts
...
@@ -361,7 +361,7 @@ done
...
@@ -361,7 +361,7 @@ done
cp
-pR
sql/share
$DESTDIR
/
cp
-pR
sql/share
$DESTDIR
/
# The SQL initiation code is really expected to be in "share"
# The SQL initia
lisa
tion code is really expected to be in "share"
mv
$DESTDIR
/scripts/
*
.sql
$DESTDIR
/share/
||
true
mv
$DESTDIR
/scripts/
*
.sql
$DESTDIR
/share/
||
true
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
...
@@ -382,7 +382,7 @@ for arg do
...
@@ -382,7 +382,7 @@ for arg do
done
done
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Finally creat the ZIP archive
# Finally creat
e
the ZIP archive
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
rm
-f
$NOINST_NAME
.zip
rm
-f
$NOINST_NAME
.zip
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment