changeset 46752:a20674f2055c

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 10 Mar 2021 13:54:00 +0100
parents a7204958ca21
children 99c0b03894ee
files Makefile
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)