aboutsummaryrefslogtreecommitdiff
path: root/build2/version/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/version/rule.cxx')
-rw-r--r--build2/version/rule.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx
index 3c9723e..a9d62ba 100644
--- a/build2/version/rule.cxx
+++ b/build2/version/rule.cxx
@@ -81,11 +81,6 @@ namespace build2
{
doc& t (static_cast<doc&> (xt));
- // If this is clean check if we were asked not to remove it.
- //
- if (a == perform_clean_id && !cast_true<bool> (t[var_clean]))
- return noop_recipe;
-
// Derive the file name.
//
t.derive_path ();