1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
####
#### Copyright (C) 2016 - 2018 David Pirotte
#### David Pirotte <david at altosw dot be>
#### This file is part of Guile-Lib.
#### Guile-Lib is free software: you can redistribute it, as a whole,
#### and/or modify it under the terms of the GNU General Public
#### License as published by the Free Software Foundation, either
#### version 3 of the License, or (at your option) any later version.
#### Each Guile-Lib module contained in Guile-Lib has its own copying
#### conditions, specified in the comments at the beginning of the
#### module's source file.
#### Guile-Lib is distributed in the hope that it will be useful, but
#### WITHOUT ANY WARRANTY; without even the implied warranty of
#### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#### General Public License for more details.
#### You should have received a copy of the GNU General Public License
#### along with Guile-Lib. If not, see
#### <http://www.gnu.org/licenses/>.
####
TEST_SXML_FILES = \
sxml.fold.scm \
sxml.ssax.scm \
sxml.transform.scm \
sxml.xpath.scm
TEST_TEXINFO_FILES = \
texinfo.scm \
texinfo.docbook.scm \
texinfo.serialize.scm \
text.parse-lalr.scm
TEST_STATPROF_FILES = \
statprof.scm
# Guile-Lib depends on Guile 2.0, and Guile 2.0 already comes with the
# `(sxml ...)' and `(texinfo ...)' modules unmodified. We don't need
# the following variables anymore, also removed from the TESTS
# definition below.
# TEST_STATPROF_SOURCES =
# TEST_SXML_SOURCES =
# TEST_TEXINFO_SOURCES =
TESTS= \
api.scm \
container.async-queue.scm \
graph.topological-sort.scm \
htmlprag.scm \
logging.logger.scm \
match-bind.scm \
math.minima.scm \
math.primes.scm \
md5.scm \
os.process.scm \
search.basic.scm \
scheme.kwargs.scm \
string.completion.scm \
string.transform.scm \
string.wrap.scm \
term.ansi-color.scm
TESTS_ENVIRONMENT= \
API_FILE=$(srcdir)/guile-library.api \
DOC_GUILE_LIBRARY_SCM=$(top_srcdir)/doc/guile-library.scm \
GUILE_AUTO_COMPILE=0 \
$(top_builddir)/pre-inst-env $(GUILE) -s
script := '(load (getenv "DOC_GUILE_LIBRARY_SCM"))\
(for-each \
(lambda (mod) \
(display " \"") (write (car mod)) (display "\" ")) \
*modules*)'
guile-library.api.update:
$(top_builddir)/pre-inst-env $(srcdir)/update-api \
$(shell DOC_GUILE_LIBRARY_SCM=$(top_srcdir)/doc/guile-library.scm \
guile -c $(script)) > $(srcdir)/guile-library.api
%.check: %
$(TESTS_ENVIRONMENT) $(srcdir)/$*
EXTRA_DIST = \
$(TESTS) \
guile-library.api
|