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.
--- 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