From dfb51bc816cde2cb345f8a0300205e6ac95a2065 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Mar 2020 15:30:08 +0200 Subject: Switch to project variable visibility by default --- libbuild2/dist/init.cxx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'libbuild2/dist') diff --git a/libbuild2/dist/init.cxx b/libbuild2/dist/init.cxx index 8eaafa2..a95f768 100644 --- a/libbuild2/dist/init.cxx +++ b/libbuild2/dist/init.cxx @@ -38,8 +38,6 @@ namespace build2 // auto& vp (rs.var_pool ()); - // Note: some overridable, some not. - // // config.dist.archives is a list of archive extensions (e.g., zip, // tar.gz) that can be optionally prefixed with a directory. If it is // relative, then it is prefixed with config.dist.root. Otherwise, the @@ -51,15 +49,15 @@ namespace build2 // absent, then the checksum file is written into the same directory as // the corresponding archive. // - vp.insert ("config.dist.root", true); - vp.insert ("config.dist.archives", true); - vp.insert ("config.dist.checksums", true); - vp.insert ("config.dist.cmd", true); + vp.insert ("config.dist.root"); + vp.insert ("config.dist.archives"); + vp.insert ("config.dist.checksums"); + vp.insert ("config.dist.cmd"); // Allow distribution of uncommitted projects. This is enforced by the // version module. // - vp.insert ("config.dist.uncommitted", true); + vp.insert ("config.dist.uncommitted"); vp.insert ("dist.root"); vp.insert ("dist.cmd"); @@ -71,8 +69,7 @@ namespace build2 // Project's package name. // - auto& v_d_p ( - vp.insert ("dist.package", variable_visibility::project)); + auto& v_d_p (vp.insert ("dist.package")); // Create the module. // -- cgit v1.1