Makefile: remove all .so files during clean
authorBrodie Rao <brodie@bitheap.org>
Sat, 25 Sep 2010 19:38:27 -0500
changeset 12499 596ad02eabe4
parent 12498 4846e8cd9327
child 12500 deeef07c6e7d
Makefile: remove all .so files during clean This ensures .so files in hgext are cleaned up.
Makefile
--- 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