Makefile
changeset 22375 308ab71207ff
parent 22358 198e2da3ee20
child 22442 77da9c03be60
equal deleted inserted replaced
22374:4509a16c76c2 22375:308ab71207ff
    54 clean:
    54 clean:
    55 	-$(PYTHON) setup.py clean --all # ignore errors from this command
    55 	-$(PYTHON) setup.py clean --all # ignore errors from this command
    56 	find contrib doc hgext i18n mercurial tests \
    56 	find contrib doc hgext i18n mercurial tests \
    57 		\( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
    57 		\( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
    58 	rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/[a-z]*.py)))
    58 	rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/[a-z]*.py)))
    59 	rm -f MANIFEST MANIFEST.in mercurial/__version__.py hgext/__index__.py tests/*.err
    59 	rm -f MANIFEST MANIFEST.in hgext/__index__.py tests/*.err
       
    60 	if test -d .hg; then rm -f mercurial/__version__.py; fi
    60 	rm -rf build mercurial/locale
    61 	rm -rf build mercurial/locale
    61 	$(MAKE) -C doc clean
    62 	$(MAKE) -C doc clean
    62 
    63 
    63 install: install-bin install-doc
    64 install: install-bin install-doc
    64 
    65