# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1615380811 -3600
#      Wed Mar 10 13:53:31 2021 +0100
# Node ID 350e7f051e954f3092afb0d31a680c7674b44efa
# Parent  5a2212d403980bee71e7f2b0d4784099ca7c2f82
makefile: add a build-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/D10191

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,9 @@
 build:
 	$(PYTHON) setup.py $(PURE) build $(COMPILERFLAG)
 
+build-chg:
+	make -C contrib/chg
+
 wheel:
 	FORCE_SETUPTOOLS=1 $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILERFLAG)