aboutsummaryrefslogtreecommitdiff
path: root/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'migrate')
-rw-r--r--migrate/buildfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/migrate/buildfile b/migrate/buildfile
index 1115557..ed4f53c 100644
--- a/migrate/buildfile
+++ b/migrate/buildfile
@@ -22,7 +22,10 @@ if $cli.configured
--include-prefix migrate --guard-prefix MIGRATE --generate-specifier \
--page-usage print_ --ansi-color --long-usage
- # Include generated cli files into the distribution.
+ # Include the generated cli files into the distribution and don't remove
+ # them when cleaning in src (so that clean results in a state identical to
+ # distributed).
#
- cli.cxx{*}: dist = true
+ cli.cxx{*}: dist = true
+ cli.cxx{*}: clean = ($src_root != $out_root)
}