diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-04 15:04:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-04 15:04:17 +0200 |
commit | 44750a440fc376b68bcf042e41b5eeeea9549a91 (patch) | |
tree | 0485253619f817472d6d6e8af8c690221bead0b3 /libbuild2/install | |
parent | d1116775abe546187a979b2481c786b51c2eab0c (diff) |
Add config.install.root with data_root/etc/ default
Diffstat (limited to 'libbuild2/install')
-rw-r--r-- | libbuild2/install/init.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx index 14045e1..677ee07 100644 --- a/libbuild2/install/init.cxx +++ b/libbuild2/install/init.cxx @@ -278,6 +278,7 @@ namespace build2 DIR (libexec, ((dir_path ("exec_root") /= "libexec") /= "<private>") /= "<project>"); DIR (pkgconfig, dir_path ("lib") /= "pkgconfig"); + DIR (etc, dir_path ("data_root") /= "etc"); DIR (include, (dir_path ("data_root") /= "include") /= "<private>"); DIR (share, dir_path ("data_root") /= "share"); DIR (data, (dir_path ("share") /= "<private>") /= "<project>"); @@ -460,6 +461,7 @@ namespace build2 set_dir (s, p, rs, "libexec", dir_libexec); set_dir (s, p, rs, "pkgconfig", dir_pkgconfig, false, "644"); + set_dir (s, p, rs, "etc", dir_etc); set_dir (s, p, rs, "include", dir_include); set_dir (s, p, rs, "share", dir_share); set_dir (s, p, rs, "data", dir_data); |