1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 09:10:22 +02:00

distcheck works now

* guilec.mk: New file, to be included when building .go files.

* module/language/scheme/Makefile.am:
* module/system/base/Makefile.am:
* module/system/il/Makefile.am:
* module/system/repl/Makefile.am:
* module/system/vm/Makefile.am: Use guilec.mk.

* module/system/base/compile.scm (compiled-file-name): Work on the
  basename of a file, so that we always create files in the directory
  where we run. Perhaps should add a -o option to guilec in the future.

* Makefile.am: Actually recurse into module/ in a normal build.
This commit is contained in:
Andy Wingo 2008-05-20 12:54:14 +02:00
parent 292bb8fc68
commit 51f6b8f377
8 changed files with 24 additions and 62 deletions

View file

@ -1,12 +1,3 @@
SOURCES = translate.scm spec.scm
## FIXME: There's a bug showing up when compiling `translate.scm'.
GOBJECTS = $(SOURCES:%.scm=%.go)
vmdir = $(guiledir)/language/scheme
vm_DATA = $(SOURCES) $(GOBJECTS)
CLEANFILES = $(GOBJECTS)
SUFFIXES = .scm .go
%.go: %.scm
$(GUILEC) $<
moddir = $(guiledir)/language/scheme
include $(top_srcdir)/guilec.mk