##// END OF EJS Templates
make: introduce a target to clean everything but packages...
Pierre-Yves David -
r29640:17b3309b stable
parent child Browse files
Show More
@@ -60,7 +60,7 b' wheel:'
60 60 doc:
61 61 $(MAKE) -C doc
62 62
63 clean:
63 cleanbutpackages:
64 64 -$(PYTHON) setup.py clean --all # ignore errors from this command
65 65 find contrib doc hgext hgext3rd i18n mercurial tests \
66 66 \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
@@ -68,10 +68,13 b' clean:'
68 68 rm -f MANIFEST MANIFEST.in hgext/__index__.py tests/*.err
69 69 rm -f mercurial/__modulepolicy__.py
70 70 if test -d .hg; then rm -f mercurial/__version__.py; fi
71 rm -rf build packages mercurial/locale
71 rm -rf build mercurial/locale
72 72 $(MAKE) -C doc clean
73 73 $(MAKE) -C contrib/chg distclean
74 74
75 clean: cleanbutpackages
76 rm -rf packages
77
75 78 install: install-bin install-doc
76 79
77 80 install-bin: build
@@ -254,8 +257,8 b' docker-centos7:'
254 257 mkdir -p packages/centos7
255 258 contrib/dockerrpm centos7
256 259
257 .PHONY: help all local build doc clean install install-bin install-doc \
258 install-home install-home-bin install-home-doc \
260 .PHONY: help all local build doc cleanbutpackages clean install install-bin \
261 install-doc install-home install-home-bin install-home-doc \
259 262 dist dist-notests check tests check-code update-pot \
260 263 osx fedora20 docker-fedora20 fedora21 docker-fedora21 \
261 264 centos5 docker-centos5 centos6 docker-centos6 centos7 docker-centos7
General Comments 0
You need to be logged in to leave comments. Login now