changeset 12500:deeef07c6e7d

Makefile: remove the build folder manually Given a system Python version of 2.6, the following won't clean up build: $ make local PYTHON=python2.7 $ make clean Distutils only cleans up build subdirectories for the current Python version. This patch cleans up the build folder even if PYTHON=python2.7 isn't specified to clean.
author Brodie Rao <brodie@bitheap.org>
date Sat, 25 Sep 2010 19:47:45 -0500
parents 596ad02eabe4
children 98f21e4d9633
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Sep 25 19:38:27 2010 -0500
+++ b/Makefile	Sat Sep 25 19:47:45 2010 -0500
@@ -45,7 +45,7 @@
 	-$(PYTHON) setup.py clean --all # ignore errors from this command
 	find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
 	rm -f MANIFEST mercurial/__version__.py tests/*.err
-	rm -rf mercurial/locale
+	rm -rf build mercurial/locale
 	$(MAKE) -C doc clean
 
 install: install-bin install-doc