summaryrefslogtreecommitdiff
path: root/am
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2008-11-01 13:05:10 +0100
committerAndy Wingo <wingo@pobox.com>2008-11-01 13:05:10 +0100
commit3f0bce1e14a4da50ff401104896314c5122a9765 (patch)
treee170f8c49fc911ca7385ea51ca5fe2021b8013ff /am
parentb1368a416617dc152eaa84a4ca1e0a0d667e3a6d (diff)
move guilec.mk to am/guilec
* am/Makefile.am: * am/guilec: guilec moved here from /guilec.mk. All includers of guilec adapted.
Diffstat (limited to 'am')
-rw-r--r--am/Makefile.am2
-rw-r--r--am/guilec11
2 files changed, 12 insertions, 1 deletions
diff --git a/am/Makefile.am b/am/Makefile.am
index 8b49c2bca..2c49adb09 100644
--- a/am/Makefile.am
+++ b/am/Makefile.am
@@ -21,7 +21,7 @@
AUTOMAKE_OPTIONS = gnu
-am_frags = pre-inst-guile maintainer-dirs
+am_frags = pre-inst-guile maintainer-dirs guilec
EXTRA_DIST = $(am_frags) ChangeLog-2008
diff --git a/am/guilec b/am/guilec
new file mode 100644
index 000000000..01a1682c5
--- /dev/null
+++ b/am/guilec
@@ -0,0 +1,11 @@
+GOBJECTS = $(SOURCES:%.scm=%.go)
+
+moddir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)/$(modpath)
+mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) $(GOBJECTS)
+EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
+
+CLEANFILES = $(GOBJECTS)
+
+SUFFIXES = .scm .go
+.scm.go:
+ $(top_builddir)/pre-inst-guile-env $(top_builddir)/guile-tools compile $<