From b4400bc98996f1a3ac7088a8f9e19daf684afcb1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 10 May 2017 16:42:05 +0200 Subject: 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. --- Makefile.am | 8 ++++++-- 1 file 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 -- cgit v1.2.3