Makefile: remove *.pyd files on "make clean".
authorMarkus F.X.J. Oberhumer <markus@oberhumer.com>
Mon, 25 Jun 2007 14:46:20 +0200
changeset 4707 3fd4dde37628
parent 4706 f0aa759b8f93
child 4708 01f9ee4de1ad
Makefile: remove *.pyd files on "make clean".
Makefile
--- a/Makefile	Mon Jun 25 14:46:20 2007 +0200
+++ b/Makefile	Mon Jun 25 14:46:20 2007 +0200
@@ -35,7 +35,7 @@
 
 clean:
 	-$(PYTHON) setup.py clean --all # ignore errors of this command
-	find . -name '*.py[co]' -exec rm -f '{}' ';'
+	find . -name '*.py[cdo]' -exec rm -f '{}' ';'
 	rm -f MANIFEST mercurial/__version__.py mercurial/*.so tests/*.err
 	$(MAKE) -C doc clean