summaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/guile/Makefile.am10
1 files changed, 7 insertions, 3 deletions
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" "$@"