From: Zooko O'Whielacronx Date: Wed, 15 Aug 2007 21:18:51 +0000 (-0700) Subject: Makefile: more portable way to make clean succeed when there's nothing to rm X-Git-Tag: allmydata-tahoe-0.5.0~7 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/reliability?a=commitdiff_plain;h=938dd97e63dc5c6164f824595967b3333be60872;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: more portable way to make clean succeed when there's nothing to rm xargs doesn't have a "-r" option on Mac OS X. --- diff --git a/Makefile b/Makefile index 5e5c465d..dc3fed48 100644 --- 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 ../..