diff options
author | unknown <greg@gcw.ath.cx> | 2003-08-07 14:19:42 -0400 |
---|---|---|
committer | unknown <greg@gcw.ath.cx> | 2003-08-07 14:19:42 -0400 |
commit | b9aa175cb282ce92e733412a74e23ba750f8dd80 (patch) | |
tree | 31ca78ad9512590f8a0bdec83f4d721555e1028b /Build-tools | |
parent | 7c3ae8a8f39eb6ed537377b00be57b73753ac6af (diff) | |
download | mariadb-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-x | Build-tools/Bootstrap | 19 |
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: |