diff Makefile @ 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 5d3f3d577218
children 1a919c3271bf
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