aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2025-01-06 07:41:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2025-01-06 07:41:53 +0200
commitad89f756290c08342574b9eb4b7037fd2cda3eb9 (patch)
tree6790b85fc572fcb961179757eddbb64ab8630876 /libbuild2
parent3c29028ce4d043d5b1348389de3aa5f5a3002f01 (diff)
Minor diagnostics improvement
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/bash/rule.cxx2
-rw-r--r--libbuild2/cc/install-rule.cxx2
-rw-r--r--libbuild2/cc/link-rule.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/bash/rule.cxx b/libbuild2/bash/rule.cxx
index 6e96b34..be7b2ff 100644
--- a/libbuild2/bash/rule.cxx
+++ b/libbuild2/bash/rule.cxx
@@ -473,7 +473,7 @@ namespace build2
{
if (!*md.for_install)
fail << "incompatible " << t << " build" <<
- info << "target already built not for install";
+ info << "target already updated but not for install";
}
else
md.for_install = true;
diff --git a/libbuild2/cc/install-rule.cxx b/libbuild2/cc/install-rule.cxx
index 46764a6..c4f924a 100644
--- a/libbuild2/cc/install-rule.cxx
+++ b/libbuild2/cc/install-rule.cxx
@@ -281,7 +281,7 @@ namespace build2
//
if (!*md.for_install)
fail << "incompatible " << t << " build" <<
- info << "target already built not for install";
+ info << "target already updated but not for install";
}
else
md.for_install = true;
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index a669f37..2037a5a 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -2598,8 +2598,8 @@ namespace build2
//
if (*md->for_install != *d.for_install)
fail << "incompatible " << *l << " build" <<
- info << "library is built " << (*md->for_install ? "" : "not ")
- << "for install";
+ info << "library is already updated but "
+ << (*md->for_install ? "" : "not ") << "for install";
}
auto newer = [&d, l] ()