From: Brian Warner Date: Sat, 18 Aug 2007 06:38:00 +0000 (-0700) Subject: Makefile: improve 'clean' behavior by removing foolscap .pycs and _version.py X-Git-Tag: allmydata-tahoe-0.6.0~152 X-Git-Url: https://git.rkrishnan.org/architecture.txt?a=commitdiff_plain;h=05dc85025f453351882141b855f99cc67ae375b3;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: improve 'clean' behavior by removing foolscap .pycs and _version.py --- diff --git a/Makefile b/Makefile index 5086e381..08cfae64 100644 --- a/Makefile +++ b/Makefile @@ -81,8 +81,8 @@ clean-zfec: $(PP) $(PYTHON) ./setup.py clean --all clean-foolscap: - -cd src/foolscap && \ - $(PP) $(PYTHON) ./setup.py clean --all + -cd src/foolscap && $(PP) $(PYTHON) ./setup.py clean --all + find src/foolscap -name '*.pyc' |xargs rm -f @@ -207,6 +207,7 @@ clean: clean-zfec clean-foolscap rm -f debian rm -rf instdir rm -f `find src/allmydata -name '*.so'` + rm -f src/allmydata/_version.py install: cd src/zfec && python ./setup.py install && cd ../..