aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-10-20 15:16:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-10-20 15:16:28 +0200
commit51666badaa58d1cc70a05b362dbf9fbef64a7296 (patch)
tree2919f013c9c1c12c7d31ee0b60eb0fbcb4130558 /libbuild2/install
parentecc0f934eff0443490202b614a73097e75b1e3db (diff)
Add operation callback for adhoc rule match and apply
Diffstat (limited to 'libbuild2/install')
-rw-r--r--libbuild2/install/operation.cxx8
1 files changed, 7 insertions, 1 deletions
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
};
}
}