diff options
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r-- | libbuild2/rule.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx index d712957..669f7db 100644 --- a/libbuild2/rule.hxx +++ b/libbuild2/rule.hxx @@ -111,7 +111,7 @@ namespace build2 // Ad hoc recipe rule. // - // Note: should not be used directly (e.g., registered, etc). + // Note: should not be used directly (i.e., registered). // class LIBBUILD2_SYMEXPORT adhoc_rule: public rule { @@ -123,7 +123,10 @@ namespace build2 apply (action, target&) const override; static target_state - perform_update (action, const target&, const adhoc_recipe&); + perform_update_file (action, const target&, const adhoc_recipe&); + + static target_state + default_action (action, const target&, const adhoc_recipe&); adhoc_rule () {} static const adhoc_rule instance; |