# HG changeset patch # User Pierre-Yves David # Date 1615380853 -3600 # 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 -r a20674f2055c -r 99c0b03894ee Makefile --- a/Makefile Wed Mar 10 13:54:00 2021 +0100 +++ b/Makefile Wed Mar 10 13:54:13 2021 +0100 @@ -116,6 +116,9 @@ 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