makefile: add a install-chg option
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 10 Mar 2021 13:53:47 +0100
changeset 46751 a7204958ca21
parent 46750 350e7f051e95
child 46752 a20674f2055c
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
Makefile
--- 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