From 05dc85025f453351882141b855f99cc67ae375b3 Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@lothar.com> Date: Fri, 17 Aug 2007 23:38:00 -0700 Subject: [PATCH] Makefile: improve 'clean' behavior by removing foolscap .pycs and _version.py --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ../.. -- 2.45.2