From 51666badaa58d1cc70a05b362dbf9fbef64a7296 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Oct 2020 15:16:28 +0200 Subject: Add operation callback for adhoc rule match and apply --- libbuild2/install/operation.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libbuild2/install') diff --git a/libbuild2/install/operation.cxx b/libbuild2/install/operation.cxx index 61908c7..54d5b9a 100644 --- a/libbuild2/install/operation.cxx +++ b/libbuild2/install/operation.cxx @@ -40,6 +40,8 @@ namespace build2 execution_mode::first, 0 /* concurrency */, // Run serially. &install_pre, + nullptr, + nullptr, nullptr }; @@ -63,6 +65,8 @@ namespace build2 execution_mode::last, 0 /* concurrency */, // Run serially &install_pre, + nullptr, + nullptr, nullptr }; @@ -79,7 +83,9 @@ namespace build2 op_update.mode, op_update.concurrency, op_update.pre, - op_update.post + op_update.post, + op_update.adhoc_match, + op_update.adhoc_apply }; } } -- cgit v1.1