comparison Makefile @ 12499:596ad02eabe4

Makefile: remove all .so files during clean This ensures .so files in hgext are cleaned up.
author Brodie Rao <brodie@bitheap.org>
date Sat, 25 Sep 2010 19:38:27 -0500
parents 11cd65611f3f
children deeef07c6e7d
comparison
equal deleted inserted replaced
12498:4846e8cd9327 12499:596ad02eabe4
41 doc: 41 doc:
42 $(MAKE) -C doc 42 $(MAKE) -C doc
43 43
44 clean: 44 clean:
45 -$(PYTHON) setup.py clean --all # ignore errors from this command 45 -$(PYTHON) setup.py clean --all # ignore errors from this command
46 find . -name '*.py[cdo]' -exec rm -f '{}' ';' 46 find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
47 rm -f MANIFEST mercurial/__version__.py mercurial/*.so tests/*.err 47 rm -f MANIFEST mercurial/__version__.py tests/*.err
48 rm -rf mercurial/locale 48 rm -rf mercurial/locale
49 $(MAKE) -C doc clean 49 $(MAKE) -C doc clean
50 50
51 install: install-bin install-doc 51 install: install-bin install-doc
52 52