diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-25 11:48:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-25 11:48:37 +0200 |
commit | d69e09acb570030a56566739569867139f5d1f4b (patch) | |
tree | 94f21ae804595ce134a107c8f185d89747d48967 /build2/install/utility.hxx | |
parent | 5e2c26176cf48b65103251186a2bf321eda069a9 (diff) |
Change default install filter to only accept prerequisites from amalgamation
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. // |