makefile: add a build-rhg option
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 10 Mar 2021 13:54:00 +0100
changeset 46752 a20674f2055c
parent 46751 a7204958ca21
child 46753 99c0b03894ee
makefile: add a build-rhg option This gives an easy action to build the rhg-binary. This will be useful for the `install-rhg` action in the next changeset. Differential Revision: https://phab.mercurial-scm.org/D10193
Makefile
--- a/Makefile	Wed Mar 10 13:53:47 2021 +0100
+++ b/Makefile	Wed Mar 10 13:54:00 2021 +0100
@@ -71,6 +71,9 @@
 build-chg:
 	make -C contrib/chg
 
+build-rhg:
+	(cd rust/rhg; cargo build --release)
+
 wheel:
 	FORCE_SETUPTOOLS=1 $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILERFLAG)