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