summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-04-03 21:19:12 +0300
committerunknown <monty@narttu.mysql.fi>2003-04-03 21:19:12 +0300
commit6c36f424281ed4354e7a20cb1798ebb6bd9393dc (patch)
tree2559697c56918e4fd2af81f84fcce0ea24dc60d4 /Build-tools
parentf293e15fc9ff9a2861f19b83ea7886b32109da96 (diff)
parent3804913a5b727fe52da44627032af116c47af119 (diff)
downloadmariadb-git-6c36f424281ed4354e7a20cb1798ebb6bd9393dc.tar.gz
Merge with 4.0
BitKeeper/etc/logging_ok: auto-union BitKeeper/deleted/.del-libmysqld.def~6ca0fa0537a3431c: Auto merged BitKeeper/deleted/.del-mysql.xdc: Delete: netware/mysql.xdc BitKeeper/deleted/.del-mysqld.xdc~1befdfee55e31716: Auto merged BitKeeper/deleted/.del-nwbootstrap~f3bc723dad4ed7e: Auto merged BitKeeper/deleted/.del-nwconfigure~86da352b5e031ed9: Auto merged client/mysql.cc: Auto merged include/my_pthread.h: Auto merged libmysqld/examples/Makefile.am: Auto merged mysql-test/r/func_str.result: Auto merged mysql-test/r/myisam.result: Auto merged mysql-test/t/backup.test: Auto merged mysql-test/t/myisam.test: Auto merged mysys/default.c: Auto merged mysys/my_init.c: Auto merged mysys/my_pthread.c: Auto merged mysys/thr_mutex.c: Auto merged scripts/make_binary_distribution.sh: Auto merged sql/ha_myisam.cc: Auto merged sql/log.cc: Auto merged sql-bench/crash-me.sh: Auto merged sql/slave.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_delete.cc: Auto merged sql/sql_show.cc: Auto merged strings/my_vsnprintf.c: Auto merged sql/sql_parse.cc: Merge with 4.0 (Ignore not existing tables with DROP TEMPOARAY TABLE on slave) mysql-test/r/rpl_loaddata.result: Auto merged
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/Bootstrap76
1 files changed, 45 insertions, 31 deletions
diff --git a/Build-tools/Bootstrap b/Build-tools/Bootstrap
index 969ab748e80..9f5fc37736d 100755
--- a/Build-tools/Bootstrap
+++ b/Build-tools/Bootstrap
@@ -30,6 +30,7 @@ chomp ($LOGFILE= `pwd`);
$LOGFILE.= "/Bootstrap.log";
chomp ($opt_directory= `pwd`);
$opt_docdir= $opt_directory . "/mysqldoc";
+$opt_build_command= undef;
$opt_changelog= undef;
$opt_delete= undef;
$opt_dry_run= undef;
@@ -44,6 +45,7 @@ $opt_skip_manual= undef;
$version= "unknown";
GetOptions(
+ "build-command|b=s",
"changelog|c:s",
"directory|d=s",
"delete",
@@ -54,7 +56,6 @@ GetOptions(
"log|l:s",
"mail|m=s",
"revision|r=s",
- "revision|r=s",
"skip-check|s",
"skip-manual",
"suffix=s",
@@ -81,6 +82,14 @@ if (defined $opt_log)
}
}
+#
+# Override predefined build command
+#
+if (defined $opt_build_command)
+{
+ $build_command= $opt_build_command;
+}
+
print_help("") if ($opt_help);
defined($REPO=$ARGV[0]) || print_help("Please enter the BK repository to be used!");
@@ -329,36 +338,41 @@ archive is being created.
Options:
--c, --changelog[=<rev>] Add a ChangeLog [down to revision <rev>]
- This will automatically be included in the source
- distribution. To get a ChangeLog down to the last
- tagged Changeset, simply use "last" as the revision
- number.
---delete Delete an already existing distribution directory
- in the target directory instead of renaming it.
--d, --directory=<dir> Specify the target directory
- (default is "$opt_directory")
---docdir=<dir> Use the MySQL documentation BK tree located in in <dir>
- (default is "$opt_docdir")
---dry-run Dry run without executing
--e, --export-only Just export (and add the ChangeLog, if requested),
- do not build or test the source distribution
--h, --help Print this help message
--l, --log[=<filename>] Write a log file [to <filename>]
- (default is "$LOGFILE")
--m, --mail=<address> Mail a failure report to the given address (and
- include a log file snippet, if logging is enabled)
- Note that the \@-Sign needs to be quoted!
- Example: --mail=user\\\@domain.com
--r, --revision=<rev> Export the tree as of revision <rev>
- (default is up to the latest revision)
--s, --skip-check Skip checking the distribution with "make distcheck"
---skip-manual Skip updating the manual from the mysqldoc tree
---suffix=<suffix> Append <suffix> to the version number in configure.in.
- Using the special suffix "YMD" will add the current
- date as the suffix (e.g. "-20020518").
--t, --test Run the test suite after build
--v, --verbose Be verbose
+-b, --build-command=<cmd> Use <cmd> to compile the sources before packing
+ the distribution.
+ (default is "$build_command")
+-c, --changelog[=<rev>] Add a ChangeLog [down to revision <rev>]
+ This will automatically be included in the source
+ distribution. To get a ChangeLog down to the last
+ tagged Changeset, simply use "last" as the revision
+ number.
+--delete Delete an already existing distribution directory
+ in the target directory instead of renaming it.
+-d, --directory=<dir> Specify the target directory
+ (default is "$opt_directory")
+--docdir=<dir> Use the MySQL documentation BK tree located
+ in <dir>
+ (default is "$opt_docdir")
+--dry-run Dry run without executing
+-e, --export-only Just export (and add the ChangeLog, if requested),
+ do not build or test the source distribution
+-h, --help Print this help message
+-l, --log[=<filename>] Write a log file [to <filename>]
+ (default is "$LOGFILE")
+-m, --mail=<address> Mail a failure report to the given address (and
+ include a log file snippet, if logging is enabled)
+ Note that the \@-Sign needs to be quoted!
+ Example: --mail=user\\\@domain.com
+-r, --revision=<rev> Export the tree as of revision <rev>
+ (default is up to the latest revision)
+-s, --skip-check Skip checking the distribution with "make distcheck"
+--skip-manual Skip updating the manual from the mysqldoc tree
+--suffix=<suffix> Append <suffix> to the version number in
+ configure.in. Using the special suffix "YMD" will
+ add the current date as the suffix
+ (e.g. "-20020518").
+-t, --test Run the test suite after build
+-v, --verbose Be verbose
Example: