aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArun Isaac2022-03-10 13:53:38 +0530
committerArun Isaac2022-03-10 13:53:38 +0530
commita271723e3938b158aa6748e8befceb114b84c6df (patch)
tree2b8480dcfa803f7b9f122143b9025f9187e7db19 /Makefile
parente07c1f90f5436559839dea7c0231dd3ee36678ce (diff)
downloadrun64-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--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 090659c..4790d13 100644
--- a/Makefile
+++ b/Makefile
@@ -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