aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès2012-04-25 14:31:42 +0200
committerLudovic Courtès2012-04-25 14:31:42 +0200
commit667f4fbf38fbd66b1d3309d439f9733720eb8494 (patch)
tree453528bc34b1d9f4992111c1984b8c82f85ee7f3
parentd4198523370e816aff8a950d55081dd3912fb5b6 (diff)
downloadskribilo-667f4fbf38fbd66b1d3309d439f9733720eb8494.tar.gz
skribilo-667f4fbf38fbd66b1d3309d439f9733720eb8494.tar.lz
skribilo-667f4fbf38fbd66b1d3309d439f9733720eb8494.zip
Don't try to build `.go' files with Guile < 2.0.
* src/guile/Makefile.am (nobase_nodist_module_DATA): Add `skribilo/config.go' and `skribilo/utils/images.go' only when ENABLE_GUILE_VM. Reported by Roger Mason <rmason@mun.ca>.
-rw-r--r--src/guile/Makefile.am17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/guile/Makefile.am b/src/guile/Makefile.am
index a250d97..9e959e0 100644
--- a/src/guile/Makefile.am
+++ b/src/guile/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2005, 2006, 2007, 2008, 2009, 2010 Ludovic Courtès <ludo@gnu.org>
+# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012 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
@@ -80,9 +80,18 @@ 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
+nobase_nodist_module_DATA += \
+ skribilo/config.scm \
+ skribilo/utils/images.scm
+
+if ENABLE_GUILE_VM
+
+nobase_nodist_module_DATA += \
+ skribilo/config.go \
+ skribilo/utils/images.go
+
+endif ENABLE_GUILE_VM
+
BUILT_SOURCES = skribilo/config.scm