# HG changeset patch # User Pierre-Yves David # Date 2021-03-10 12:53:47 # Node ID a7204958ca21e8ee5bc63bd2445e04f7c84065f8 # Parent 350e7f051e954f3092afb0d31a680c7674b44efa makefile: add a install-chg option This is done as a gratuitous improvement on the way to add makefile entry to build and install rhg. It seems saner to have equivalent entry for chg too. Differential Revision: https://phab.mercurial-scm.org/D10192 diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -99,6 +99,9 @@ install: install-bin install-doc install-bin: build $(PYTHON) setup.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --force +install-chg: build-chg + make -C contrib/chg install PREFIX="$(PREFIX)" + install-doc: doc cd doc && $(MAKE) $(MFLAGS) install