diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-08 10:56:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-08 10:56:32 +0200 |
commit | eb264e1892c2a1379fa3bcab9aefea219e8e7138 (patch) | |
tree | 1031f859076b2d8f117a2948ec1184a5536f9cbc /build/install | |
parent | 55471ef43695408bae2237374be4637c302d1c87 (diff) |
Rework diagnostics verbosity, add quiet mode/option
Diffstat (limited to 'build/install')
-rw-r--r-- | build/install/module.cxx | 2 | ||||
-rw-r--r-- | build/install/rule.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/build/install/module.cxx b/build/install/module.cxx index 454ff3e..b117e98 100644 --- a/build/install/module.cxx +++ b/build/install/module.cxx @@ -110,7 +110,7 @@ namespace build } const dir_path& out_root (r.out_path ()); - level4 ([&]{trace << "for " << out_root;}); + level5 ([&]{trace << "for " << out_root;}); // Register the install operation. // diff --git a/build/install/rule.cxx b/build/install/rule.cxx index b1627be..64df3eb 100644 --- a/build/install/rule.cxx +++ b/build/install/rule.cxx @@ -178,9 +178,9 @@ namespace build args.push_back (reld.string ().c_str ()); args.push_back (nullptr); - if (verb) + if (verb >= 2) print_process (args); - else + else if (verb) text << "install " << d; try @@ -220,9 +220,9 @@ namespace build args.push_back (reld.string ().c_str ()); args.push_back (nullptr); - if (verb) + if (verb >= 2) print_process (args); - else + else if (verb) text << "install " << t; try |