[Box Backup-commit] COMMIT r2974 - box/trunk/infrastructure

subversion at boxbackup.org subversion at boxbackup.org
Thu Jun 30 20:45:24 BST 2011


Author: chris
Date: 2011-06-30 20:45:24 +0100 (Thu, 30 Jun 2011)
New Revision: 2974

Modified:
   box/trunk/infrastructure/makeparcels.pl.in
Log:
make make clean remove all auto-generated files, and not use force where it's not necessary.


Modified: box/trunk/infrastructure/makeparcels.pl.in
===================================================================
--- box/trunk/infrastructure/makeparcels.pl.in	2011-06-22 17:52:27 UTC (rev 2973)
+++ box/trunk/infrastructure/makeparcels.pl.in	2011-06-30 19:45:24 UTC (rev 2974)
@@ -369,17 +369,19 @@
 
 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;




More information about the Boxbackup-commit mailing list