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
--- 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)