From d3abefe5393de8828255bde3cf23ac84a6dd9e7d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 23 May 2018 12:45:50 +0200 Subject: Add dist to list of modules bootstrapped by default by create meta-operation --- build2/b.cli | 6 +++--- build2/config/operation.cxx | 4 ++-- 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 { -- cgit v1.1