aboutsummaryrefslogtreecommitdiff
path: root/build2/version
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-23 20:20:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-23 20:20:22 +0200
commit1a362489a5e128088c15bcbedcce768ca7ff25ce (patch)
treea7e95aaf117b3b679344d485065e05c4ffb35d60 /build2/version
parent4402d5fc6002769210bf06c97f6a3cc97f6e30ee (diff)
Move support for disabling cleaning to common functions
Diffstat (limited to 'build2/version')
-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 ();