Skip to content
Browse files

Makefile: be more careful when cleaning up pure/ components

The recent introduction of pure/ causes
mercurial/ to get clobbered by make clean.

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
2 Makefile
@@ -45,7 +45,7 @@ doc:
-$(PYTHON) 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 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.