diff options
-rw-r--r-- | guile-vm.am | 8 | ||||
-rw-r--r-- | src/guile/Makefile.am | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/guile-vm.am b/guile-vm.am index d463407..8b291c5 100644 --- a/guile-vm.am +++ b/guile-vm.am @@ -6,8 +6,8 @@ if ENABLE_GUILE_VM # XXX: This expression relies on a GNU extension. GOBJECTS = $(SOURCES:%.scm=%.go) -nobase_nodist_module_DATA = \ - $(SOURCES) $(GOBJECTS) $(SOURCES_NOT_COMPILED) +nobase_dist_module_DATA = $(SOURCES) $(SOURCES_NOT_COMPILED) +nobase_nodist_module_DATA = $(GOBJECTS) # Compiler warnings. guile_warnings = unused-variable unused-toplevel unbound-variable arity-mismatch @@ -30,7 +30,7 @@ SUFFIXES += .go else !ENABLE_GUILE_VM -nobase_nodist_module_DATA = \ - $(SOURCES) $(SOURCES_NOT_COMPILED) +nobase_dist_module_DATA = $(SOURCES) $(SOURCES_NOT_COMPILED) +nobase_nodist_module_DATA = endif !ENABLE_GUILE_VM diff --git a/src/guile/Makefile.am b/src/guile/Makefile.am index 9136fac..536e34b 100644 --- a/src/guile/Makefile.am +++ b/src/guile/Makefile.am @@ -1,4 +1,4 @@ -# Copyright 2005, 2006, 2007, 2008, 2009 Ludovic Courtès <ludo@gnu.org> +# Copyright 2005, 2006, 2007, 2008, 2009, 2010 Ludovic Courtès <ludo@gnu.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,7 +26,6 @@ EXTRA_DIST = \ SOURCES = \ skribilo.scm diff.scm \ - skribilo/config.scm \ skribilo/biblio/bibtex.scm skribilo/biblio/author.scm \ skribilo/biblio/abbrev.scm skribilo/biblio/template.scm \ skribilo/utils/syntax.scm skribilo/utils/compat.scm \ @@ -75,11 +74,16 @@ SOURCES += \ skribilo/source/lisp-lex.scm skribilo/source/xml-lex.scm \ skribilo/source/c-lex.scm -CLEANFILES = $(nobase_module_DATA) +CLEANFILES = $(nobase_nodist_module_DATA) include $(top_srcdir)/substitute.am include $(top_srcdir)/guile-vm.am +# Generated files not part of the distribution. +nobase_nodist_module_DATA += \ + skribilo/config.scm skribilo/config.go \ + skribilo/utils/images.scm skribilo/utils/images.go + .in.scm: $(substitute) "$^" > "$@.tmp" && \ mv "$@.tmp" "$@" |