summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-06-30 19:45:24 +0000
committerChris Wilson <chris+github@qwirx.com>2011-06-30 19:45:24 +0000
commit2dddc59daffcc59389bdd9eb1d1b7415e6a451d3 (patch)
tree980f4376aac71dfacea51a8b0ff269059e002ada
parent6e3ad4e6024d842697be28375b6b47977bd2e20b (diff)
make make clean remove all auto-generated files, and not use force where it's not necessary.
-rwxr-xr-xinfrastructure/makeparcels.pl.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in
index d4caf2ba..ed2a01aa 100755
--- a/infrastructure/makeparcels.pl.in
+++ b/infrastructure/makeparcels.pl.in
@@ -369,17 +369,19 @@ EOF
if ($build_os eq 'CYGWIN')
{
- print MAKE "\tfind release debug -type f | xargs -r rm -f\n";
+ print MAKE "\tfind release debug -type f | xargs -r rm\n";
+ print MAKE "\tfind . -name 'autogen_*' -type f | xargs -r rm\n";
}
else
{
- print MAKE "\tfind release debug -type f -exec rm -f {} \\;\n";
+ print MAKE "\tfind release debug -type f -exec rm {} \\;\n";
+ print MAKE "\tfind . -name 'autogen_*' -type f -exec rm {} \\;\n";
}
for my $parcel (@parcels)
{
- print MAKE "\trm -rf ", BoxPlatform::parcel_dir($parcel), "\n";
- print MAKE "\trm -f ", BoxPlatform::parcel_target($parcel), "\n";
+ print MAKE "\trm -r ", BoxPlatform::parcel_dir($parcel), "\n";
+ print MAKE "\trm ", BoxPlatform::parcel_target($parcel), "\n";
}
close MAKE;