From 294a883863fa7713edc5278adddf8f60a28c8a9f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 24 Feb 2022 10:03:43 +0200 Subject: WIP --- libbuild2/install/rule.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libbuild2/install/rule.cxx') diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx index b8d716d..77da466 100644 --- a/libbuild2/install/rule.cxx +++ b/libbuild2/install/rule.cxx @@ -125,7 +125,7 @@ namespace build2 // // Note: not the same as lookup_install() above. // - auto l ((*pt)["install"]); + auto l ((*pt)["install"]); //@@??? if (l && cast (l).string () == "false") { l5 ([&]{trace << "ignoring " << *pt << " (not installable)";}); @@ -245,7 +245,7 @@ namespace build2 // // Note: not the same as lookup_install() above. // - auto l ((*mt)["install"]); + auto l ((*mt)["install"]); //@@ if (l && cast (l).string () == "false") { l5 ([&]{trace << "ignoring " << *mt << " (not installable)";}); @@ -291,7 +291,7 @@ namespace build2 if (p.is_a ()) { // Feels like one day this should be unified with include (see - // context::var_include). + // context::var_include). @@ Isn't it now? // if (p.vars.empty () || cast_empty (p.vars["install"]).string () != "true") @@ -381,7 +381,7 @@ namespace build2 // // Note: not the same as lookup_install() above. // - auto l ((*pt)["install"]); + auto l ((*pt)["install"]); //@@ if (l && cast (l).string () == "false") { l5 ([&]{trace << "ignoring " << *pt << " (not installable)";}); @@ -1033,7 +1033,7 @@ namespace build2 // if (!tp.empty ()) { - install_target (t, cast (t["install"]), 1); + install_target (t, cast (t["install"]), 1); //@@ r |= target_state::changed; } @@ -1298,7 +1298,7 @@ namespace build2 target_state r (target_state::unchanged); if (!tp.empty ()) - r |= uninstall_target (t, cast (t["install"]), 1); + r |= uninstall_target (t, cast (t["install"]), 1); //@@ // Then installable ad hoc group members, if any. To be anally precise, // we would have to do it in reverse, but that's not easy (it's a -- cgit v1.1