changeset 12499:596ad02eabe4

Makefile: remove all .so files during clean This ensures .so files in hgext are cleaned up.
author Brodie Rao <brodie@bitheap.org>
date Sat, 25 Sep 2010 19:38:27 -0500
parents 4846e8cd9327
children deeef07c6e7d
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Sep 26 19:18:41 2010 +0200
+++ b/Makefile	Sat Sep 25 19:38:27 2010 -0500
@@ -43,8 +43,8 @@
 
 clean:
 	-$(PYTHON) setup.py clean --all # ignore errors from this command
-	find . -name '*.py[cdo]' -exec rm -f '{}' ';'
-	rm -f MANIFEST mercurial/__version__.py mercurial/*.so tests/*.err
+	find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
+	rm -f MANIFEST mercurial/__version__.py tests/*.err
 	rm -rf mercurial/locale
 	$(MAKE) -C doc clean