]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: more portable way to make clean succeed when there's nothing to rm
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 15 Aug 2007 21:18:51 +0000 (14:18 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 15 Aug 2007 21:18:51 +0000 (14:18 -0700)
xargs doesn't have a "-r" option on Mac OS X.

Makefile

index 5e5c465d3755b26215b0347a47cbf6bba2f7872c..dc3fed48a49e6ed63c14f65963fcff236be45208 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ clean: clean-zfec clean-foolscap
        rm -rf build
        rm -f debian
        rm -rf instdir
-       -find src/allmydata -name '*.so' -print0 |xargs -0 -r rm
+       -@find src/allmydata -name '*.so' -print0 |xargs -0 rm
 
 install: 
        cd src/zfec && python ./setup.py install && cd ../..