aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-07-21 12:08:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-07-21 12:08:34 +0200
commit323585564fc7a5b0457926846a98493feb77f37d (patch)
treefb4e150d566c8a44705ac2bd4522b19c8394b61b
parent3f6a5deac97cdf85186c6e1164ce6895eb38c36f (diff)
Add link to HOWTO entry in conditional dependency declaration warning
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index 0ce0cfe..23e9d0e 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -2402,7 +2402,9 @@ namespace build2
info << "instead use 'include' prerequisite-specific variable to "
<< "conditionally include prerequisites" <<
info << "for example: "
- << "<target>: <prerequisite>: include = (<condition>)";
+ << "<target>: <prerequisite>: include = (<condition>)" <<
+ info << "for details, see https://github.com/build2/HOWTO/blob/"
+ << "master/entries/keep-build-graph-config-independent.md";
}
}