aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-08-02 17:04:00 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-08-02 18:17:20 +0200
commita6849d4a45292b37e83910583464409743905e74 (patch)
tree361122e55b101e5ec5440d9b251ad4688c3971c0 /Makefile.am
parent651b8bbcf96376b723921820de82061ccdba9c4f (diff)
downloadcuirass-a6849d4a45292b37e83910583464409743905e74.tar
cuirass-a6849d4a45292b37e83910583464409743905e74.tar.gz
Add (cuirass) module.
* src/cuirass.scm: New file. * Makefile.am (guilesitedir, dist_guilesite_DATA) (nodist_guilesite_DATA): New variables. (pkgmoduledir): Refer to 'guilesitedir'. (CLEANFILES): Add 'nodist_guilesite_DATA'. * bin/cuirass.in: Use (cuirass) module. * bin/evaluate.in: Likewise.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d4916fb..b31d934 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,11 @@
bin_SCRIPTS = bin/cuirass bin/evaluate
noinst_SCRIPTS = pre-inst-env
-pkgmoduledir=$(datarootdir)/guile/site/2.0/$(PACKAGE)
+guilesitedir=$(datarootdir)/guile/site/2.0
+dist_guilesite_DATA = src/cuirass.scm
+nodist_guilesite_DATA = $(dist_guilesite_DATA:%.scm=%.go)
+
+pkgmoduledir=$(guilesitedir)/$(PACKAGE)
dist_pkgmodule_DATA = \
src/cuirass/base.scm \
src/cuirass/database.scm \
@@ -89,6 +93,7 @@ EXTRA_DIST = \
DISTCLEANFILES = src/cuirass/config.scm
CLEANFILES = \
+ $(nodist_guilesite_DATA) \
$(dist_pkgmodule_DATA:%.scm=%.go) \
src/cuirass/config.go