Commit ae7b276c authored by unknown's avatar unknown

Add --win-dist parameter to Bootstrap, to run make_win_src_distribution


Build-tools/Bootstrap:
  Add --win-dist parameter to run make_win_src_distribution
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent fa0213fb
......@@ -23,6 +23,7 @@ davida@isil.mysql.com
dlenev@mysql.com
gluh@gluh.(none)
gluh@gluh.mysql.r18.ru
greg@gcw.ath.cx
greg@mysql.com
guilhem@mysql.com
gweir@build.mysql.com
......
......@@ -42,6 +42,7 @@ $opt_suffix= "";
$opt_test= undef;
$opt_skip_check= undef;
$opt_skip_manual= undef;
$opt_win_dist= undef;
$version= "unknown";
GetOptions(
......@@ -60,7 +61,8 @@ GetOptions(
"skip-manual",
"suffix=s",
"test|t",
"verbose|v"
"verbose|v",
"win-dist|w"
) || print_help("");
#
......@@ -300,7 +302,17 @@ $command= "make dist";
&run_command($command, "make dist failed!");
#
# Run "make distcheck" to verify the source archive
# Package the Windows source
#
if ($opt_win_dist)
{
&logger ("Creating Windows source package");
$command= "./scripts/make_win_src_distibution";
&run_command($command, "make_win_src_distribution failed!");
}
#
# Run "make distcheck" to verify the source archive
#
if (!$opt_skip_check)
{
......@@ -327,7 +339,7 @@ sub print_help
print "ERROR: $message\n";
}
print <<EOF;
Usage: Bootstrap [options] <bk repository>
Checks out (exports) a clear-text version of the given local BitKeeper
......@@ -373,6 +385,7 @@ Options:
(e.g. "-20020518").
-t, --test Run the test suite after build
-v, --verbose Be verbose
-w, --win-dist Also make Windows source distribution
Example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment