From 3f55a720ec99b2f13b39cbb115b45c5c726ec986 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Thu, 3 Jun 2010 22:12:50 -0700
Subject: [PATCH] setup: adjust make clean target to ignore our bundled build
 tools

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c7dc647c..edfd8681 100644
--- a/Makefile
+++ b/Makefile
@@ -258,7 +258,7 @@ clean:
 	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 -v setuptools-`
+	rm -rf `ls -d *.egg | grep -vEe"setuptools-|setuptools_trial-|darcsver-"`
 	rm -rf *.pyc
 	rm -rf misc/dependencies/build misc/dependencies/temp
 	rm -rf misc/dependencies/tahoe_deps.egg-info
-- 
2.45.2