Skip to content
Browse files

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.

--HG--
branch : stable
  • Loading branch information...
1 parent 8299422 commit c46e40a2700e5945f914f2a4bdbcc41e401a095a Matt Mackall committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
2 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 $(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

0 comments on commit c46e40a

Please sign in to comment.
Something went wrong with that request. Please try again.