]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - Makefile
make tests pass with redesigned directory pages
[tahoe-lafs/tahoe-lafs.git] / Makefile
index d4533716e45c72b30721403fa723dbb3ec71e723..a0e055830e8e672798b44c623f4f43fe9c94f16a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -230,11 +230,11 @@ test-clean:
 # It would be nice if 'make clean' deleted any automatically-generated
 # _version.py too, so that 'make clean; make all' could be useable as a
 # "what the heck is going on, get me back to a clean state', but we need
-# 'make clean' to work on non-darcs trees without destroying useful information.
+# 'make clean' to work on non-checkout trees without destroying useful information.
+# Use 'make distclean' instead to delete all generated files.
 clean:
        rm -rf build _trial_temp _test_memory .built
        rm -f `find src *.egg -name '*.so' -or -name '*.pyc'`
-       rm -rf src/allmydata_tahoe.egg-info
        rm -rf support dist
        rm -rf `ls -d *.egg | grep -vEe"setuptools-|setuptools_darcs-|darcsver-"`
        rm -rf *.pyc
@@ -242,6 +242,11 @@ clean:
        rm -rf misc/dependencies/tahoe_deps.egg-info
        rm -f bin/tahoe bin/tahoe.pyscript
 
+distclean: clean
+       rm -rf src/allmydata_tahoe.egg-info
+       rm -f src/allmydata/_version.py
+       rm -f src/allmydata/_appname.py
+
 find-trailing-spaces:
        $(PYTHON) misc/coding_tools/find-trailing-spaces.py -r $(SOURCES)
        @echo