comparison 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
comparison
equal deleted inserted replaced
13099:a08b49d2f116 13101:37d0fe7a14da
43 $(MAKE) -C doc 43 $(MAKE) -C doc
44 44
45 clean: 45 clean:
46 -$(PYTHON) setup.py clean --all # ignore errors from this command 46 -$(PYTHON) setup.py clean --all # ignore errors from this command
47 find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';' 47 find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
48 rm -f MANIFEST mercurial/__version__.py tests/*.err 48 rm -f MANIFEST tests/*.err
49 rm -rf build mercurial/locale 49 rm -rf build mercurial/locale
50 $(MAKE) -C doc clean 50 $(MAKE) -C doc clean
51 51
52 install: install-bin install-doc 52 install: install-bin install-doc
53 53