aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-23 12:45:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-23 12:45:50 +0200
commitd3abefe5393de8828255bde3cf23ac84a6dd9e7d (patch)
treef5565f47377264848f10ccb12495bd7b77a401b3
parent954c9ac620a3f37d45ce2aa3bd35564a519b1143 (diff)
Add dist to list of modules bootstrapped by default by create meta-operation
-rw-r--r--build2/b.cli6
-rw-r--r--build2/config/operation.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/build2/b.cli b/build2/b.cli
index 36ce9ee..3074e4e 100644
--- a/build2/b.cli
+++ b/build2/b.cli
@@ -292,9 +292,9 @@ namespace build2
question mark (\cb{?}).
The second optional parameter is the list of modules to load in
- \cb{bootstrap.build}. If not specified, then the \cb{test} and
- \cb{install} modules are loaded by default. The \cb{config} module
- is always loaded first.
+ \cb{bootstrap.build}. If not specified, then the \cb{test},
+ \cb{dist}, and \cb{install} modules are loaded by default. The
+ \cb{config} module is always loaded first.
Besides creating project's \cb{bootstrap.build} and \cb{root.build},
\cb{create} also writes the root \cb{buildfile} with the following
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx
index e10030a..1e6a387 100644
--- a/build2/config/operation.cxx
+++ b/build2/config/operation.cxx
@@ -891,9 +891,9 @@ namespace build2
// Start with process parameters. The first parameter, if any, is a list
// of root.build modules. The second parameter, if any, is a list of
// bootstrap.build modules. If the second is not specified, then the
- // default is test and install (config is mandatory).
+ // default is test, dist, and install (config is mandatory).
//
- strings bmod {"test", "install"};
+ strings bmod {"test", "dist", "install"};
strings rmod;
try
{