changeset 13101:37d0fe7a14da

build: don't delete precious version information on 'make clean' setup.py rebuilds version information if it's locally available, regardless if file already exists.
author Matt Mackall <mpm@selenic.com>
date Wed, 08 Dec 2010 11:18:26 -0600
parents a08b49d2f116
children 5dac0d04b838
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Dec 07 20:03:05 2010 +1100
+++ b/Makefile	Wed Dec 08 11:18:26 2010 -0600
@@ -45,7 +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 MANIFEST mercurial/__version__.py tests/*.err
+	rm -f MANIFEST tests/*.err
 	rm -rf build mercurial/locale
 	$(MAKE) -C doc clean