[PATCH 1/2] Makefile: don't remove unrelated files

Nicolas Sebrecht nicolas.s-dev at laposte.net
Sun Jan 16 17:02:52 GMT 2011


Contributers don't expect to have their working files deleted on 'make clean'.
This process should only remove files created by the build mechanisms included in
the repository.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev at laposte.net>
---
 Makefile |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index f184835..54da8a8 100644
--- a/Makefile
+++ b/Makefile
@@ -21,13 +21,10 @@ SHELL=/bin/bash
 
 clean:
 	-python setup.py clean --all
-	-rm -f `find . -name "*~"`
-	-rm -f `find . -name "*.tmp"`
 	-rm -f bin/offlineimapc
 	-rm -f `find . -name "*.pyc"`
 	-rm -f `find . -name "*.pygc"`
 	-rm -f `find . -name "*.class"`
-	-rm -f `find . -name "*.bak"`
 	-rm -f `find . -name ".cache*"`
 	-rm -f manpage.links manpage.refs
 	-find . -name auth -exec rm -vf {}/password {}/username \;
-- 
1.7.4.rc1.220.g438e4





More information about the OfflineIMAP-project mailing list