aboutsummaryrefslogtreecommitdiff
path: root/build/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-08 10:56:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-08 10:56:32 +0200
commiteb264e1892c2a1379fa3bcab9aefea219e8e7138 (patch)
tree1031f859076b2d8f117a2948ec1184a5536f9cbc /build/rule.cxx
parent55471ef43695408bae2237374be4637c302d1c87 (diff)
Rework diagnostics verbosity, add quiet mode/option
Diffstat (limited to 'build/rule.cxx')
-rw-r--r--build/rule.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/rule.cxx b/build/rule.cxx
index 0fe5e1a..cce291c 100644
--- a/build/rule.cxx
+++ b/build/rule.cxx
@@ -62,7 +62,7 @@ namespace build
if (ts != timestamp_nonexistent)
return t;
- level3 ([&]{trace << "no existing file for target " << t;});
+ level4 ([&]{trace << "no existing file for target " << t;});
return nullptr;
}
default:
@@ -201,9 +201,9 @@ namespace build
//
if (!dir_exists (d))
{
- if (verb)
+ if (verb >= 2)
text << "mkdir " << d;
- else
+ else if (verb)
text << "mkdir " << t;
try