changeset 14315:f6b3b346d80c

Makefile: remove pure modules on clean
author Martin Geisler <mg@aragost.com>
date Fri, 13 May 2011 11:26:29 +0200
parents c322890b03e6
children d5b525697ddb
files Makefile
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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