From d34681e7e516cbbd8a79fb8bb45f741eea404fd6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 15 Aug 2010 19:17:26 +0200 Subject: 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. --- src/guile/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') 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 +# Copyright 2005, 2006, 2007, 2008, 2009, 2010 Ludovic Courtès # # 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" "$@" -- cgit v1.2.3