summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <greg@gcw.ath.cx>2003-08-07 14:19:42 -0400
committerunknown <greg@gcw.ath.cx>2003-08-07 14:19:42 -0400
commitb9aa175cb282ce92e733412a74e23ba750f8dd80 (patch)
tree31ca78ad9512590f8a0bdec83f4d721555e1028b /Build-tools
parent7c3ae8a8f39eb6ed537377b00be57b73753ac6af (diff)
downloadmariadb-git-b9aa175cb282ce92e733412a74e23ba750f8dd80.tar.gz
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
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/Bootstrap19
1 files changed, 16 insertions, 3 deletions
diff --git a/Build-tools/Bootstrap b/Build-tools/Bootstrap
index 9f5fc37736d..25c256d614b 100755
--- a/Build-tools/Bootstrap
+++ b/Build-tools/Bootstrap
@@ -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: