aboutsummaryrefslogtreecommitdiff
path: root/build2/install/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/install/utility.hxx')
-rw-r--r--build2/install/utility.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/install/utility.hxx b/build2/install/utility.hxx
index dfd1915..21c0c44 100644
--- a/build2/install/utility.hxx
+++ b/build2/install/utility.hxx
@@ -51,6 +51,12 @@ namespace build2
{
return install_mode (s, T::static_type, move (m));
}
+
+ // Resolve relative installation directory path (e.g., include/libfoo) to
+ // its absolute directory path (e.g., /usr/include/libfoo).
+ //
+ dir_path
+ resolve_dir (const target&, dir_path); // rule.cxx
}
}