Makefile: remove pure modules on clean
authorMartin Geisler <mg@aragost.com>
Fri, 13 May 2011 11:26:29 +0200
changeset 14315 f6b3b346d80c
parent 14314 c322890b03e6
child 14316 d5b525697ddb
Makefile: remove pure modules on clean
Makefile
--- a/Makefile	Wed May 11 18:18:50 2011 +0200
+++ b/Makefile	Fri May 13 11:26:29 2011 +0200
@@ -45,6 +45,7 @@
 clean:
 	-$(PYTHON) setup.py clean --all # ignore errors from this command
 	find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
+	rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/*.py)))
 	rm -f MANIFEST tests/*.err
 	rm -rf build mercurial/locale
 	$(MAKE) -C doc clean