1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| | From b8ba5b84e9df796bd0ed62e105425419531d779e Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Mon, 14 Mar 2016 07:40:49 +0100
Subject: [PATCH] Install guile-EFFECTIVE_VERSION and guile-MAJOR_VERSION too.
* libguile/Makefile.am (install-exec-hook): Add versioned symlinks for
guile executable.
---
libguile/Makefile.am | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libguile/Makefile.am b/libguile/Makefile.am
index 3bc9952..32a4850 100644
--- a/libguile/Makefile.am
+++ b/libguile/Makefile.am
@@ -464,6 +464,11 @@ EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES = _scm.h \
## wiped out.
install-exec-hook:
rm -f $(DESTDIR)$(bindir)/guile-snarf.awk
+ cd $(DESTDIR)$(bindir) && \
+ rm -f guile-$(GUILE_MAJOR_VERSION)$(EXEEXT) && \
+ mv -f guile$(EXEEXT) guile-$(GUILE_EFFECTIVE_VERSION)$(EXEEXT) && \
+ $(LN_S) guile-$(GUILE_EFFECTIVE_VERSION)$(EXEEXT) guile$(EXEEXT) && \
+ $(LN_S) guile-$(GUILE_EFFECTIVE_VERSION)$(EXEEXT) guile-$(GUILE_MAJOR_VERSION)$(EXEEXT)
install-data-hook: libguile-2.2-gdb.scm
@$(MKDIR_P) $(DESTDIR)$(libdir)
--
2.6.3
|