Mercurial > hg
diff Makefile @ 46753: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 | d4ba4d51f85f |
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