diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-12 10:52:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-12 10:58:19 +0200 |
commit | 11b841ef5b26e25500fa4d464f216dc982ed7338 (patch) | |
tree | 7a528ce6e098f8867cedbe102b4d06e2411dc5d5 /build2/algorithm | |
parent | 7509a7e07cb047a43664a7d33a5b0ac3a945019a (diff) |
Inject fsdir{} even for project roots
This takes care of subprojects, such as tests/.
Diffstat (limited to 'build2/algorithm')
-rw-r--r-- | build2/algorithm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/algorithm b/build2/algorithm index b1c922b..9401915 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -131,11 +131,11 @@ namespace build2 resolve_group_members (action, target&); // Inject dependency on the target's directory fsdir{}, unless it is in the - // src tree, root of the project, or is outside of any project (say, for - // example, an installation directory). If the parent argument is true, then - // inject the parent directory of a target that is itself a directory (name - // is empty). Return the injected target or NULL. Normally this function is - // called from the rule's apply() function. + // src tree or is outside of any project (say, for example, an installation + // directory). If the parent argument is true, then inject the parent + // directory of a target that is itself a directory (name is empty). Return + // the injected target or NULL. Normally this function is called from the + // rule's apply() function. // fsdir* inject_fsdir (action, target&, bool parent = true); |