1 ## Process this file with Automake to create Makefile.in
3 ## Copyright (C) 1998, 2004, 2006, 2008, 2009, 2010,
4 ## 2011 Free Software Foundation, Inc.
6 ## This file is part of GUILE.
8 ## GUILE is free software; you can redistribute it and/or modify it
9 ## under the terms of the GNU Lesser General Public License as
10 ## published by the Free Software Foundation; either version 3, or
11 ## (at your option) any later version.
13 ## GUILE is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ## GNU Lesser General Public License for more details.
18 ## You should have received a copy of the GNU Lesser General Public
19 ## License along with GUILE; see the file COPYING.LESSER. If not,
20 ## write to the Free Software Foundation, Inc., 51 Franklin Street,
21 ## Fifth Floor, Boston, MA 02110-1301 USA
23 AUTOMAKE_OPTIONS = gnu
25 BUILT_SOURCES = standard-library.texi
27 info_TEXINFOS = guile.texi
29 guile_TEXINFOS = preface.texi \
32 libguile-parallel.texi \
33 libguile-program.texi \
78 libguile-autoconf.texi \
79 autoconf-macros.texi \
85 libguile-concepts.texi \
88 libguile-linking.texi \
89 libguile-extensions.texi \
91 mod-getopt-long.texi \
95 effective-version.texi
97 ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
99 PICTURES = hierarchy.eps \
111 noinst_DATA = $(PICTURES)
113 EXTRA_DIST = ChangeLog-2008 $(PICTURES)
117 libguile-autoconf.texi: autoconf-macros.texi
118 autoconf-macros.texi: $(top_srcdir)/meta/guile.m4
119 GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guild \
120 snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
123 MAINTAINERCLEANFILES = autoconf-macros.texi
125 # Support for snarfing docs out of Scheme modules.
126 snarf_doc = standard-library
128 $(snarf_doc).am: $(snarf_doc).scm
129 GUILE_AUTO_COMPILE=0 ; \
130 variable="`echo $(snarf_doc) | tr - _`_scm_files" ; \
131 "$(top_builddir_absolute)/meta/guile" -l "$(srcdir)/$(snarf_doc).scm" \
133 (format #t \"# Automatically generated, do not edit.~%\") \
134 (format #t \"$$variable = \") \
135 (for-each (lambda (m) \
136 (format #t \"$$""(top_srcdir)/module/~a.scm \" \
137 (string-join (map symbol->string m) \"/\"))) \
138 (map car *modules*))" > "$@.tmp"
141 # The following line leads to the definition of $(standard_library_scm_files).
142 include standard-library.am
144 $(snarf_doc).texi: $(standard_library_scm_files)
145 GUILE_AUTO_COMPILE=0 \
146 "$(top_builddir_absolute)/meta/guile" "$(srcdir)/make-texinfo.scm" \
147 "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp"
150 DISTCLEANFILES = $(snarf_doc).texi
151 EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am
156 cvs -d :ext:cvs.sv.gnu.org:/web/guile \
157 import -m 'make www-commit in doc/ref' guile/docs/master/guile.html gnu \
158 $(shell date "+D%Y%m%d%H%M%S")