diff options
author | Arun Isaac | 2022-03-10 13:53:38 +0530 |
---|---|---|
committer | Arun Isaac | 2022-03-10 13:53:38 +0530 |
commit | a271723e3938b158aa6748e8befceb114b84c6df (patch) | |
tree | 2b8480dcfa803f7b9f122143b9025f9187e7db19 /Makefile | |
parent | e07c1f90f5436559839dea7c0231dd3ee36678ce (diff) | |
download | run64-a271723e3938b158aa6748e8befceb114b84c6df.tar.gz run64-a271723e3938b158aa6748e8befceb114b84c6df.tar.lz run64-a271723e3938b158aa6748e8befceb114b84c6df.zip |
Makefile: Substitute absolute path to run64 while installing.
This avoids having to depend on which.
* Makefile (SED): New variable.
(install): Substitute absolute path to guile-run64.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,7 @@ # along with run64. If not, see <https://www.gnu.org/licenses/>. EMACS ?= emacs +SED ?= sed prefix ?= /usr/local exec_prefix ?= $(prefix) @@ -32,6 +33,7 @@ check: ; install: $(scripts) install -D $^ --target-directory $(bindir) + $(SED) -i 's|$$(which run64)|$(bindir)/run64|' $(bindir)/guile-run64 website: website/index.html |