aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-05-10 16:42:05 +0200
committerLudovic Courtès <ludo@gnu.org>2017-05-10 16:42:05 +0200
commitb4400bc98996f1a3ac7088a8f9e19daf684afcb1 (patch)
tree70777a7c3c39734c1e77ab9ca073853be438f0c3
parentece0773ca85bf8a7235795ead111bf971312c80b (diff)
downloadcuirass-b4400bc98996f1a3ac7088a8f9e19daf684afcb1.tar
cuirass-b4400bc98996f1a3ac7088a8f9e19daf684afcb1.tar.gz
build: Install .go files to $(libdir)/guile.
* Makefile.am (guileobjectdir): New variable. (nodist_guilesite_DATA): Rename to... (nodist_guileobject_DATA): ... this. (pkgobjectdir): New variable. (nodist_pkgmodule_DATA): Rename to... (nodist_pkgobject_DATA): ... this.
-rw-r--r--Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 841f35f..fe7a87b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,10 +22,14 @@ bin_SCRIPTS = bin/cuirass bin/evaluate
noinst_SCRIPTS = pre-inst-env
guilesitedir = $(datarootdir)/guile/site/@GUILE_EFFECTIVE_VERSION@
+guileobjectdir = $(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache
+
dist_guilesite_DATA = src/cuirass.scm
-nodist_guilesite_DATA = $(dist_guilesite_DATA:.scm=.go)
+nodist_guileobject_DATA = $(dist_guilesite_DATA:.scm=.go)
pkgmoduledir = $(guilesitedir)/$(PACKAGE)
+pkgobjectdir = $(guileobjectdir)/$(PACKAGE)
+
dist_pkgmodule_DATA = \
src/cuirass/base.scm \
src/cuirass/database.scm \
@@ -34,7 +38,7 @@ dist_pkgmodule_DATA = \
src/cuirass/ui.scm \
src/cuirass/utils.scm
-nodist_pkgmodule_DATA = \
+nodist_pkgobject_DATA = \
$(dist_pkgmodule_DATA:.scm=.go) \
src/cuirass/config.scm \
src/cuirass/config.go