make_win_bin_dist.1 5.21 KB
Newer Older
1
'\" t
2
.\"     Title: \fBmake_win_bin_dist\fR
3 4 5
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\"      Date: 08/12/2009
6 7
.\"    Manual: MySQL Database System
.\"    Source: MySQL 5.1
8
.\"  Language: English
9
.\"
10 11 12 13
.TH "\FBMAKE_WIN_BIN_DIST" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
14 15 16 17
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
18 19 20 21
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" make_win_bin_dist
22 23 24
.SH "NAME"
make_win_bin_dist \- package MySQL distribution as ZIP archive
.SH "SYNOPSIS"
25 26
.HP \w'\fBmake_win_bin_dist\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fIpackage_basename\fR\fR\fB\ [\fR\fB\fIcopy_def\fR\fR\fB\ \&.\&.\&.]\fR\ 'u
\fBmake_win_bin_dist [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpackage_basename\fR\fR\fB [\fR\fB\fIcopy_def\fR\fR\fB \&.\&.\&.]\fR
27 28
.SH "DESCRIPTION"
.PP
29
This script is used on Windows after building a MySQL distribution from source to create executable programs\&. It packages the binaries and support files into a ZIP archive that can be unpacked at the location where you want to install MySQL\&.
30 31
.PP
\fBmake_win_bin_dist\fR
32
is a shell script, so you must have Cygwin installed to use it\&.
33
.PP
34
This program\'s use is subject to change\&. Currently, you invoke it as follows from the root directory of your source distribution:
35
.sp
36 37 38
.if n \{\
.RS 4
.\}
39
.nf
40
shell> \fBmake_win_bin_dist [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpackage_basename\fR\fR\fB [\fR\fB\fIcopy_def\fR\fR\fB \&.\&.\&.]\fR
41
.fi
42
.if n \{\
43
.RE
44
.\}
45 46 47
.PP
The
\fIpackage_basename\fR
48
argument provides the basename for the resulting ZIP archive\&. This name will be the name of the directory that results from unpacking the archive\&.
49 50 51 52
.PP
Because you might want to include files of directories from other builds, you can instruct this script do copy them in for you, via
\fIcopy_def\fR
arguments, which of which is of the form
53
\fIrelative_dest_name\fR=\fIsource_name\fR\&.
54 55 56
.PP
Example:
.sp
57 58 59
.if n \{\
.RS 4
.\}
60
.nf
61
bin/mysqld\-max\&.exe=\&.\&./my\-max\-build/sql/release/mysqld\&.exe
62
.fi
63
.if n \{\
64
.RE
65
.\}
66
.PP
67
If you specify a directory, the entire directory will be copied\&.
68 69
.PP
\fBmake_win_bin_dist\fR
70 71 72 73 74 75 76 77 78 79 80 81
supports the following options:
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: debug option
.\" debug option: make_win_bin_dist
82 83
\fB\-\-debug\fR
.sp
84 85 86 87 88 89 90 91 92 93 94 95 96
Pack the debug binaries and produce an error if they were not built\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: embedded option
.\" embedded option: make_win_bin_dist
97 98
\fB\-\-embedded\fR
.sp
99 100 101 102 103 104 105 106 107 108 109 110 111
Pack the embedded server and produce an error if it was not built\&. The default is to pack it if it was built\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: exe-suffix option
.\" exe-suffix option: make_win_bin_dist
112 113 114 115
\fB\-\-exe\-suffix=\fR\fB\fIsuffix\fR\fR
.sp
Add a suffix to the basename of the
\fBmysql\fR
116
binary\&. For example, a suffix of
117 118
\-abc
produces a binary named
119 120 121 122 123 124 125 126 127 128 129 130 131
\fBmysqld\-abc\&.exe\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: no-debug option
.\" no-debug option: make_win_bin_dist
132 133
\fB\-\-no\-debug\fR
.sp
134 135 136 137 138 139 140 141 142 143 144 145 146
Do not pack the debug binaries even if they were built\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: no-embedded option
.\" no-embedded option: make_win_bin_dist
147 148
\fB\-\-no\-embedded\fR
.sp
149 150 151 152 153 154 155 156 157 158 159 160 161
Do not pack the embedded server even if it was built\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: only-debug option
.\" only-debug option: make_win_bin_dist
162 163 164 165
\fB\-\-only\-debug\fR
.sp
Use this option when the target for this build was
Debug, and you just want to replace the normal binaries with debug versions (that is, do not use separate
166 167 168
debug
directories)\&.
.RE
169
.SH "COPYRIGHT"
170
.br
171
.PP
172
Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
173 174 175 176 177
.PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP
178 179
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
180 181 182 183 184
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/.
.SH AUTHOR
185
Sun Microsystems, Inc. (http://www.mysql.com/).