build: don't delete precious version information on 'make clean'
authorMatt Mackall <mpm@selenic.com>
Wed, 08 Dec 2010 11:18:26 -0600
changeset 13101 37d0fe7a14da
parent 13099 a08b49d2f116
child 13104 5dac0d04b838
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.
Makefile
--- 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