diff options
Diffstat (limited to 'build2/install/utility.hxx')
-rw-r--r-- | build2/install/utility.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/build2/install/utility.hxx b/build2/install/utility.hxx index 61ac6a7..cb0ae7c 100644 --- a/build2/install/utility.hxx +++ b/build2/install/utility.hxx @@ -54,13 +54,17 @@ namespace build2 } // Resolve relative installation directory path (e.g., include/libfoo) to - // its absolute directory path (e.g., /usr/include/libfoo). + // its absolute directory path (e.g., /usr/include/libfoo). If the + // resolution encountered an unknown directory, issue diagnostics and fail + // unless fail_unknown is false, in which case return empty directory. + // + // Note: implemented in rule.cxx. // dir_path - resolve_dir (const target&, dir_path); // rule.cxx + resolve_dir (const target&, dir_path, bool fail_unknown = true); dir_path - resolve_dir (const scope&, dir_path); // rule.cxx + resolve_dir (const scope&, dir_path, bool fail_unknown = true); // Resolve file installation path returning empty path if not installable. // |