comparison Makefile @ 14315:f6b3b346d80c

Makefile: remove pure modules on clean
author Martin Geisler <mg@aragost.com>
date Fri, 13 May 2011 11:26:29 +0200
parents 1a919c3271bf
children 2ce7dfe17bc5
comparison
equal deleted inserted replaced
14314:c322890b03e6 14315:f6b3b346d80c
43 $(MAKE) -C doc 43 $(MAKE) -C doc
44 44
45 clean: 45 clean:
46 -$(PYTHON) setup.py clean --all # ignore errors from this command 46 -$(PYTHON) setup.py clean --all # ignore errors from this command
47 find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';' 47 find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
48 rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/*.py)))
48 rm -f MANIFEST tests/*.err 49 rm -f MANIFEST tests/*.err
49 rm -rf build mercurial/locale 50 rm -rf build mercurial/locale
50 $(MAKE) -C doc clean 51 $(MAKE) -C doc clean
51 52
52 install: install-bin install-doc 53 install: install-bin install-doc