Commits

Brodie Rao committed c5dfee6

Makefile: don't remove files in .hg/

Comments (0)

Files changed (1)

 
 clean:
 	-$(PYTHON) setup.py clean --all
-	find . -name '*.py[cdo]' -exec rm -f '{}' ';'
+	find . -not -path '*/.hg/*' -name '*.py[cdo]' -exec rm -f '{}' ';'
 	find . -name '*.err' -exec rm -f '{}' ';'
 	rm -rf __pycache__ dist build htmlcov
 	rm -f README.md MANIFEST *,cover .coverage