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
--- a/Makefile Wed Mar 10 13:53:31 2021 +0100
+++ b/Makefile Wed Mar 10 13:53:47 2021 +0100
@@ -99,6 +99,9 @@
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