# HG changeset patch # User Matt Mackall # Date 2010-12-08 17:18:26 # Node ID 37d0fe7a14da70936d745c5490eb41af9898b9ff # Parent a08b49d2f116f442faa126df5457fc9573d0c28f 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. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ doc: 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