From eb264e1892c2a1379fa3bcab9aefea219e8e7138 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Sep 2015 10:56:32 +0200 Subject: Rework diagnostics verbosity, add quiet mode/option --- build/install/module.cxx | 2 +- build/install/rule.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'build/install') 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 -- cgit v1.1