New option for Bootstrap: -w | --win-dist to create Windows source package
Build-tools/Bootstrap: Add --win-dist option to create Windows source package scripts/Makefile.am: Add make_win_src_distribution to CLEANFILES
This commit is contained in:
parent
bb9568e092
commit
76dc0bb0f0
@ -43,6 +43,7 @@ $opt_suffix= "";
|
|||||||
$opt_test= undef;
|
$opt_test= undef;
|
||||||
$opt_skip_check= undef;
|
$opt_skip_check= undef;
|
||||||
$opt_skip_manual= undef;
|
$opt_skip_manual= undef;
|
||||||
|
$opt_win_dist= undef;
|
||||||
$version= "unknown";
|
$version= "unknown";
|
||||||
$major=$minor=$release=0;
|
$major=$minor=$release=0;
|
||||||
|
|
||||||
@ -62,7 +63,8 @@ GetOptions(
|
|||||||
"skip-manual",
|
"skip-manual",
|
||||||
"suffix=s",
|
"suffix=s",
|
||||||
"test|t",
|
"test|t",
|
||||||
"verbose|v"
|
"verbose|v",
|
||||||
|
"win-dist|w"
|
||||||
) || print_help("");
|
) || print_help("");
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -302,6 +304,20 @@ if ($opt_test)
|
|||||||
$command= "make dist";
|
$command= "make dist";
|
||||||
&run_command($command, "make dist failed!");
|
&run_command($command, "make dist failed!");
|
||||||
|
|
||||||
|
#
|
||||||
|
# Package the Windows source
|
||||||
|
#
|
||||||
|
if ($opt_win_dist)
|
||||||
|
{
|
||||||
|
&logger ("Creating Windows source package");
|
||||||
|
chdir("scripts");
|
||||||
|
$command= "make make_win_src_distribution";
|
||||||
|
&run_command($command, "make make_win_src_distribution failed!");
|
||||||
|
chdir("..");
|
||||||
|
$command= "./scripts/make_win_src_distibution";
|
||||||
|
&run_command($command, "make_win_src_distribution failed!");
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Run "make distcheck" to verify the source archive
|
# Run "make distcheck" to verify the source archive
|
||||||
#
|
#
|
||||||
@ -376,6 +392,7 @@ Options:
|
|||||||
(e.g. "-20020518").
|
(e.g. "-20020518").
|
||||||
-t, --test Run the test suite after build
|
-t, --test Run the test suite after build
|
||||||
-v, --verbose Be verbose
|
-v, --verbose Be verbose
|
||||||
|
-w, --win-dist Also make Windows source distribution
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -65,6 +65,7 @@ pkgdata_DATA = make_binary_distribution
|
|||||||
# failures with it.
|
# failures with it.
|
||||||
CLEANFILES = @server_scripts@ \
|
CLEANFILES = @server_scripts@ \
|
||||||
make_binary_distribution \
|
make_binary_distribution \
|
||||||
|
make_win_src_distribution \
|
||||||
msql2mysql \
|
msql2mysql \
|
||||||
mysql_config \
|
mysql_config \
|
||||||
mysql_fix_privilege_tables \
|
mysql_fix_privilege_tables \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user