Mercurial > evolve
changeset 5382:2e90cd9feec8
makefile: move help target to be the first target (i.e. default goal)
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 07 Jul 2020 19:13:35 +0800 |
parents | 7cdbe18838bc |
children | 38de9f5f5b40 |
files | Makefile |
diffstat | 1 files changed, 6 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Jul 07 19:11:53 2020 +0800 +++ b/Makefile Tue Jul 07 19:13:35 2020 +0800 @@ -3,6 +3,12 @@ TESTFLAGS ?= $(shell echo $$HGTESTFLAGS) HGTESTS = $(HGROOT)/tests +help: + @echo 'Commonly used make targets:' + @echo ' deb-prepare - prepare the build of a debian package' + @echo ' tests - run all tests in the automatic test suite' + @echo ' tests-%s - run all tests in the specified hg version' + @echo ' all-version-tests - run all tests against many hg versions' all: help @@ -18,15 +24,6 @@ install-home: $(PYTHON) setup.py install --home="$(HOME)" --prefix="" --force -help: - @echo 'Commonly used make targets:' - @echo ' deb-prepare - prepare the build of a debian package' - @echo ' tests - run all tests in the automatic test suite' - @echo ' all-version-tests - run all tests against many hg versions' - @echo ' tests-%s - run all tests in the specified hg version' - -all: help - _check_hgroot: ifeq ($(HGROOT),) $(error HGROOT is not set to the root of the hg source tree)