From 77bef9b64857b1d2ae96dafc2f531cadb374f561 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Sep 2023 09:03:44 +0200 Subject: Fix issue with fallback rule priority in dist module While at it, also remove workarounds for the same issue in the config and test modules. --- libbuild2/install/init.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libbuild2/install') diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx index 0b33475..3df912f 100644 --- a/libbuild2/install/init.cxx +++ b/libbuild2/install/init.cxx @@ -396,6 +396,9 @@ namespace build2 // Note: use mtime_target (instead of target) to take precedence over // the fallback file rules below. // + // @@ We could fix this by checking the target type in file_rule, + // similar to build2::file_rule. + // bs.insert_rule (perform_install_id, "install.group", gr); bs.insert_rule (perform_uninstall_id, "install.group", gr); @@ -403,7 +406,7 @@ namespace build2 // operation, similar to update. // // @@ Hm, it's a bit fuzzy why we would be updating-for-install - // something outside of any project..? + // something outside of any project? // scope& gs (rs.global_scope ()); -- cgit v1.1