[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 01/01: build: Refer to $(guileobjectdir) in installed scripts
From: |
Ludovic Courtès |
Subject: |
[shepherd] 01/01: build: Refer to $(guileobjectdir) in installed scripts. |
Date: |
Fri, 21 Oct 2016 09:53:25 +0000 (UTC) |
civodul pushed a commit to branch master
in repository shepherd.
commit f7469c3c8fca7ad9603d9a20537e5f860923ac86
Author: Ludovic Courtès <address@hidden>
Date: Fri Oct 21 11:52:19 2016 +0200
build: Refer to $(guileobjectdir) in installed scripts.
This is a followup to 657387546ecf20b28632394be58a4ec43eb08d19.
* Makefile.am (install-exec-hook): Adjust to new 'guileobjectdir'.
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 20b7d1c..9767d77 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -114,8 +114,8 @@ install-exec-hook: install-executable-symlinks
$(bin_SCRIPTS:%=$(DESTDIR)$(bindir)/%) \
$(sbin_SCRIPTS:%=$(DESTDIR)$(sbindir)/%) ; \
do \
- $(SED) -e's|$(abs_top_srcdir)/modules|$(guilemoduledir)|g' \
- -e's|$(abs_top_builddir)/modules|$(guilemoduledir)|g' \
+ $(SED)
-e's|$(abs_top_srcdir)/modules\(.*\)%load-path|$(guilemoduledir)\1%load-path|g'
\
+
-e's|$(abs_top_builddir)/modules\(.*\)%load-compiled-path|$(guileobjectdir)\1%load-compiled-path|g'
\
-i $$script ; \
done