diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-23 06:18:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-23 06:18:26 +0200 |
commit | 5a763a5552184090602f0a9303b9266f5412f020 (patch) | |
tree | 0cf1fb0189157c4d02976156007fe4ee6ad7f1d1 /libbuild2/install/operation.hxx | |
parent | f62b8809d827a0474284e75ad5724cf201ed83b1 (diff) |
Add support for relocatable installation manifest
Diffstat (limited to 'libbuild2/install/operation.hxx')
-rw-r--r-- | libbuild2/install/operation.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libbuild2/install/operation.hxx b/libbuild2/install/operation.hxx index 71bdcba..4983976 100644 --- a/libbuild2/install/operation.hxx +++ b/libbuild2/install/operation.hxx @@ -27,7 +27,8 @@ namespace build2 struct install_context_data { #ifndef BUILD2_BOOTSTRAP - path_name manifest_file; + path manifest_file; // Absolute and normalized, empty if `-`. + path_name manifest_name; // Original path/name. ofdstream manifest_ofs; ostream& manifest_os; auto_rmfile manifest_autorm; @@ -35,9 +36,9 @@ namespace build2 const target* manifest_target = nullptr; // Target being installed. struct manifest_target_entry { - string path; - string mode; - string target; + build2::path path; + string mode; + build2::path target; }; vector<manifest_target_entry> manifest_target_entries; #endif |