aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-02-15 09:11:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-02-15 09:11:53 +0200
commit70d63c266ffd313c03f6cf68e7080bbcd3c8c064 (patch)
treefa102b7885549600b7f66ecb31519af86858ce85 /libbuild2/rule.hxx
parent40f84c09974c03405a63c9eba32df7209de4bec0 (diff)
Add fsdir{} duplicate suppression in more places
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index e4afcd4..eceb6ad 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -369,7 +369,8 @@ namespace build2
// The implementation should append pattern prerequisites to
// t.prerequisite_targets[a] but not match. It should set bit 2 in
// prerequisite_target::include to indicate update=match and bit 3
- // to indicate update=unmatch.
+ // to indicate update=unmatch. It should also avoid adding duplicate
+ // fsdir{} similar to the search_prerequisite*() functions.
//
virtual void
apply_prerequisites (action, target&,