From: Brian Warner Date: Fri, 14 Sep 2007 10:28:56 +0000 (-0700) Subject: Makefile: improve 'clean' behavior: rm ez_setup leftovers, ignore _version.py X-Git-Tag: allmydata-tahoe-0.6.0~119 X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/(%5B%5E?a=commitdiff_plain;h=33dc6733893d8db8cdbb807a64b4afe309f2fad4;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: improve 'clean' behavior: rm ez_setup leftovers, ignore _version.py in the test-clean target --- diff --git a/Makefile b/Makefile index 16be46bf..84fa21cc 100644 --- a/Makefile +++ b/Makefile @@ -164,10 +164,10 @@ test-darcs-boringfile: $(PYTHON) misc/test-darcs-boringfile.py test-clean: - find . |grep -v allfiles.tmp |sort >allfiles.tmp.old + find . |grep -v allfiles.tmp |grep -v src/allmydata/_version.py |sort >allfiles.tmp.old $(MAKE) $(MAKE) clean - find . |grep -v allfiles.tmp |sort >allfiles.tmp.new + find . |grep -v allfiles.tmp |grep -v src/allmydata/_version.py |sort >allfiles.tmp.new diff allfiles.tmp.old allfiles.tmp.new clean: @@ -176,6 +176,8 @@ clean: rm -f `find src/allmydata -name '*.so' -or -name '*.pyc'` rm -rf allmydata_tahoe.egg-info rm -rf support + rm -rf setuptools*.egg + rm -f ez_setup.pyc @@ -223,11 +225,14 @@ setup-deb: is-known-debian-arch ln -s misc/$(TAHOE_ARCH)/debian debian chmod +x debian/rules -# etch (current debian stable) has python-simplejson-1.3 +# etch (current debian stable) has python-simplejson-1.3, which doesn't +# support indent= # sid (debian unstable) currently has python-simplejson 1.7.1 -# edgy has 1.3 -# feisty has 1.4 +# edgy has 1.3, which doesn't support indent= +# feisty has 1.4, which supports indent= but emits a deprecation warning # gutsy has 1.7.1 +# +# we need 1.4 or newer deb-ARCH: is-known-debian-arch setup-deb fakeroot debian/rules binary