Mercurial > hg-stable
changeset 16460:d9e2f09d5488 stable 2.2-rc
Makefile: be more careful when cleaning up pure/ components
The recent introduction of pure/__init__.py causes
mercurial/__init__.py to get clobbered by make clean.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 18 Apr 2012 11:45:50 -0500 |
parents | baa06fb69ece |
children | 687f390e661a |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Apr 17 17:56:36 2012 -0500 +++ b/Makefile Wed Apr 18 11:45:50 2012 -0500 @@ -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 $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/*.py))) + rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/[a-z]*.py))) rm -f MANIFEST MANIFEST.in tests/*.err rm -rf build mercurial/locale $(MAKE) -C doc clean