From 5a763a5552184090602f0a9303b9266f5412f020 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 23 Mar 2023 06:18:26 +0200 Subject: Add support for relocatable installation manifest --- libbuild2/install/operation.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libbuild2/install/operation.hxx') 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_entries; #endif -- cgit v1.1