From a271723e3938b158aa6748e8befceb114b84c6df Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 10 Mar 2022 13:53:38 +0530 Subject: 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. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 090659c..4790d13 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ # along with run64. If not, see . 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 -- cgit v1.2.3