# HG changeset patch # User Pierre-Yves David # Date 2021-03-10 12:54:13 # Node ID 99c0b03894ee470aaf2e718fad1d42a5003a9282 # Parent a20674f2055c2a84f97e5302415e84a6382b8871 makefile: add a install option This gives and easy way to install rhg that we can use in `run-test.py` in the next changesets. Differential Revision: https://phab.mercurial-scm.org/D10194 diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -116,6 +116,9 @@ install-home-bin: build install-home-doc: doc cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install +install-rhg: build-rhg + install -m 755 rust/target/release/rhg "$(PREFIX)"/bin/ + MANIFEST-doc: $(MAKE) -C doc MANIFEST