diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-02 13:58:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-02 14:03:55 +0200 |
commit | 9fa4b867890dfaa3fa086affec23049826765dfe (patch) | |
tree | 4643a3cbdf6ebb057e12cd31fd60a71aeda654a2 /build2/rule.cxx | |
parent | e45345eeee4db91644a58842267393ff2df19fe2 (diff) |
Fix clean logic
Diffstat (limited to 'build2/rule.cxx')
-rw-r--r-- | build2/rule.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/build2/rule.cxx b/build2/rule.cxx index dd508d0..53f723b 100644 --- a/build2/rule.cxx +++ b/build2/rule.cxx @@ -153,12 +153,10 @@ namespace build2 recipe fsdir_rule:: apply (action a, target& t) const { - // Inject dependency on the parent directory. Note that we don't do it for - // clean since we shouldn't (and can't possibly, since it's our parent) be - // removing it. It also must be first (see perform_update_direct()). + // Inject dependency on the parent directory. Note that it must be first + // (see perform_update_direct()). // - if (a.operation () != clean_id) - inject_fsdir (a, t); + inject_fsdir (a, t); match_prerequisites (a, t); |