summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2019-04-16 14:27:18 +0200
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>2021-03-18 08:40:35 +0100
commit3cb08041ab29c379e4b54dc092818b0dbfa044da (patch)
treeaeb5d5a120cbee3a91a84fefd030b684e70f39fa /Makefile.am
parentc854e0f84a40d972cbd532bbb89c97ca0126a7cf (diff)
Cater for guile 2.2, 3.0.
* Makefile.am (godir, moddir): Softcode effective version.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 44c0cbb..0924e72 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,6 @@
# guile-websocket --- WebSocket client/server
# Copyright © 2015 David Thompson <davet@gnu.org>
+# Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
#
# This file is part of guile-websocket.
#
@@ -37,8 +38,8 @@ SUFFIXES = .scm .go
.scm.go:
$(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"
-moddir=$(prefix)/share/guile/site/2.0
-godir=$(libdir)/guile/2.0/ccache
+moddir=$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)
+godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
SOURCES = \
web/socket/base64.scm \