summaryrefslogtreecommitdiff
path: root/guile-vm.am
diff options
context:
space:
mode:
authorLudovic Courtès2010-08-15 19:17:26 +0200
committerLudovic Courtès2010-08-15 19:17:26 +0200
commitd34681e7e516cbbd8a79fb8bb45f741eea404fd6 (patch)
tree1d15b90c0d356bf11d4ca355a60d540a5f1f2995 /guile-vm.am
parent61fe28bd785f04fb4df33f43feef59406a9f0880 (diff)
downloadskribilo-d34681e7e516cbbd8a79fb8bb45f741eea404fd6.tar.gz
skribilo-d34681e7e516cbbd8a79fb8bb45f741eea404fd6.tar.lz
skribilo-d34681e7e516cbbd8a79fb8bb45f741eea404fd6.zip
Fix "make dist" wrt. `.go' files and generated files.
* guile-vm.am (nobase_dist_module_DATA): New variable. Move $(SOURCES) from $(nobase_nodist_module_DATA) to here. * src/guile/Makefile.am (SOURCES): Remove `skribilo/config.scm'. (CLEANFILES): Set to $(nobase_nodist_module_DATA). (nobase_nodist_module_DATA): New variable.
Diffstat (limited to 'guile-vm.am')
-rw-r--r--guile-vm.am8
1 files changed, 4 insertions, 4 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