aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-08 13:31:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-08 13:48:37 +0200
commit1c30f9e9c4fca846f05e881638920a9beb082fd1 (patch)
tree21c14ea34baca0a25e7fb245e92d2cd19b4ac7e7 /libbuild2/install
parent957e150b49fce148c51a13bca0aa9f754ac2c4cb (diff)
Add support for buildfile importation
Diffstat (limited to 'libbuild2/install')
-rw-r--r--libbuild2/install/init.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx
index dfd78df..0b33475 100644
--- a/libbuild2/install/init.cxx
+++ b/libbuild2/install/init.cxx
@@ -260,7 +260,7 @@ namespace build2
// way we distinguish between the two is via the presence/absence of
// the trailing directory separator.
//
- // Plus it can have the special true/false values when acting as a
+ // Plus it can have the special true/false values when acting as an
// operation variable.
//
auto& ovar (rs.var_pool ().insert<path> ("install",
@@ -299,6 +299,7 @@ namespace build2
DIR (include_arch, dir_path ("include"));
DIR (share, dir_path ("data_root") /= "share");
DIR (data, (dir_path ("share") /= "<private>") /= "<project>");
+ DIR (buildfile, ((dir_path ("share") /= "build2") /= "export") /= "<project>");
DIR (doc, ((dir_path ("share") /= "doc") /= "<private>") /= "<project>");
DIR (legal, dir_path ("doc"));
@@ -701,6 +702,7 @@ namespace build2
set_dir (s, p, rs, "include_arch", dir_include_arch);
set_dir (s, p, rs, "share", dir_share);
set_dir (s, p, rs, "data", dir_data);
+ set_dir (s, p, rs, "buildfile", dir_buildfile);
set_dir (s, p, rs, "doc", dir_doc);
set_dir (s, p, rs, "legal", dir_legal);