diff options
author | Amar Singh <nly@disroot.org> | 2019-07-06 11:47:11 +0530 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2019-07-09 19:45:42 -0400 |
commit | 6b79c8c097b1d185929185bd57a36963660a1485 (patch) | |
tree | d6e9e570815842f3bbef2c03eff2ecbbe0d47036 | |
parent | 9b1f15bd318f24c32ae9bbdad862d27a076b6a42 (diff) |
Makefile: Install Guile modules in the correct location.
* Makefile.am (moddir, godir): Use $GUILE_EFFECTIVE_VERSION to
generate installation directories.
-rw-r--r-- | Makefile.am | 5 |
1 files 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 <davet@gnu.org> +## Copyright (C) 2019 by Amar Singh<nly@disroot.org> ## ## 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 |