From 6b79c8c097b1d185929185bd57a36963660a1485 Mon Sep 17 00:00:00 2001 From: Amar Singh Date: Sat, 6 Jul 2019 11:47:11 +0530 Subject: Makefile: Install Guile modules in the correct location. * Makefile.am (moddir, godir): Use $GUILE_EFFECTIVE_VERSION to generate installation directories. --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5eede45..0a8a906 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ ## Shroud ## Copyright © 2015 David Thompson +## Copyright (C) 2019 by Amar Singh ## ## Shroud is free software; you can redistribute it and/or modify it ## under the terms of the GNU General Public License as published by @@ -34,8 +35,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=$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION) +godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache bin_SCRIPTS = \ scripts/shroud -- cgit v1.2.3