diff options
Diffstat (limited to 'am')
-rw-r--r-- | am/Makefile.am | 2 | ||||
-rw-r--r-- | am/guilec | 11 |
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 $< |