17
# $Id: Makefile.am,v 1.5 2004/04/11 17:56:47 karl Exp $
16
18
# Makefile.am for texinfo/tests/makeinfo.
17
# Run automake in ../.. to produce Makefile.in from this.
20
# This file is free software; as a special exception the author gives
21
# unlimited permission to copy and/or distribute it, with or without
22
# modifications, as long as this notice is preserved.
24
# This program is distributed in the hope that it will be useful, but
25
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
26
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22
29
top_srcdir = @top_srcdir@
25
exec_prefix = @exec_prefix@
29
libexecdir = @libexecdir@
31
sysconfdir = @sysconfdir@
32
sharedstatedir = @sharedstatedir@
33
localstatedir = @localstatedir@
37
includedir = @includedir@
38
oldincludedir = /usr/include
39
31
pkgdatadir = $(datadir)/@PACKAGE@
40
32
pkglibdir = $(libdir)/@PACKAGE@
41
33
pkgincludedir = $(includedir)/@PACKAGE@
42
34
top_builddir = ../..
47
AUTOHEADER = @AUTOHEADER@
35
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
49
36
INSTALL = @INSTALL@
50
INSTALL_PROGRAM = @INSTALL_PROGRAM@
51
INSTALL_DATA = @INSTALL_DATA@
52
INSTALL_SCRIPT = @INSTALL_SCRIPT@
37
install_sh_DATA = $(install_sh) -c -m 644
38
install_sh_PROGRAM = $(install_sh) -c
39
install_sh_SCRIPT = $(install_sh) -c
53
40
INSTALL_HEADER = $(INSTALL_DATA)
54
transform = @program_transform_name@
41
transform = $(program_transform_name)
58
45
NORMAL_UNINSTALL = :
61
host_alias = @host_alias@
48
build_triplet = @build@
62
49
host_triplet = @host@
50
subdir = makeinfo/tests
51
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
52
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
53
am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
54
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \
55
$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \
56
$(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \
57
$(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \
58
$(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \
59
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
60
$(top_srcdir)/m4/longdouble.m4 $(top_srcdir)/m4/longlong.m4 \
61
$(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/nls.m4 \
62
$(top_srcdir)/m4/onceonly_2_57.m4 $(top_srcdir)/m4/po.m4 \
63
$(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \
64
$(top_srcdir)/m4/signed.m4 $(top_srcdir)/m4/size_max.m4 \
65
$(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/strcase.m4 \
66
$(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
67
$(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
68
$(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.ac
69
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
71
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
72
CONFIG_HEADER = $(top_builddir)/config.h
74
SCRIPTS = $(noinst_SCRIPTS)
77
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
80
AMDEP_FALSE = @AMDEP_FALSE@
81
AMDEP_TRUE = @AMDEP_TRUE@
84
AUTOHEADER = @AUTOHEADER@
65
87
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
66
88
CATOBJEXT = @CATOBJEXT@
90
CCDEPMODE = @CCDEPMODE@
94
CYGPATH_W = @CYGPATH_W@
68
95
DATADIRNAME = @DATADIRNAME@
72
104
GLIBC21 = @GLIBC21@
73
105
GMSGFMT = @GMSGFMT@
106
HAVE_ASPRINTF = @HAVE_ASPRINTF@
107
HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
108
HAVE_SNPRINTF = @HAVE_SNPRINTF@
109
HAVE_WPRINTF = @HAVE_WPRINTF@
110
HELP2MAN = @HELP2MAN@
111
INSTALL_DATA = @INSTALL_DATA@
112
INSTALL_PROGRAM = @INSTALL_PROGRAM@
113
INSTALL_SCRIPT = @INSTALL_SCRIPT@
75
114
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
115
INSTALL_WARNINGS_FALSE = @INSTALL_WARNINGS_FALSE@
116
INSTALL_WARNINGS_TRUE = @INSTALL_WARNINGS_TRUE@
76
117
INSTOBJEXT = @INSTOBJEXT@
77
118
INTLBISON = @INTLBISON@
78
119
INTLLIBS = @INTLLIBS@
79
120
INTLOBJS = @INTLOBJS@
80
121
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
82
123
LIBICONV = @LIBICONV@
83
124
LIBINTL = @LIBINTL@
85
127
LTLIBICONV = @LTLIBICONV@
86
128
LTLIBINTL = @LTLIBINTL@
129
LTLIBOBJS = @LTLIBOBJS@
131
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
132
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
133
MAKEINFO = @MAKEINFO@
87
134
MKINSTALLDIRS = @MKINSTALLDIRS@
136
MSGMERGE = @MSGMERGE@
89
138
PACKAGE = @PACKAGE@
139
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
140
PACKAGE_NAME = @PACKAGE_NAME@
141
PACKAGE_STRING = @PACKAGE_STRING@
142
PACKAGE_TARNAME = @PACKAGE_TARNAME@
143
PACKAGE_VERSION = @PACKAGE_VERSION@
144
PATH_SEPARATOR = @PATH_SEPARATOR@
147
SET_MAKE = @SET_MAKE@
92
150
TERMLIBS = @TERMLIBS@
151
TOOLS_ONLY_FALSE = @TOOLS_ONLY_FALSE@
152
TOOLS_ONLY_TRUE = @TOOLS_ONLY_TRUE@
93
153
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
94
154
USE_NLS = @USE_NLS@
95
155
VERSION = @VERSION@
156
XGETTEXT = @XGETTEXT@
157
ac_ct_CC = @ac_ct_CC@
158
ac_ct_RANLIB = @ac_ct_RANLIB@
159
ac_ct_STRIP = @ac_ct_STRIP@
160
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
161
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
96
162
am__include = @am__include@
163
am__leading_dot = @am__leading_dot@
97
164
am__quote = @am__quote@
166
am__untar = @am__untar@
169
build_alias = @build_alias@
170
build_cpu = @build_cpu@
171
build_os = @build_os@
172
build_vendor = @build_vendor@
174
exec_prefix = @exec_prefix@
176
host_alias = @host_alias@
177
host_cpu = @host_cpu@
179
host_vendor = @host_vendor@
180
includedir = @includedir@
98
182
install_sh = @install_sh@
100
TESTS = accent accentenc cond \
184
libexecdir = @libexecdir@
185
localstatedir = @localstatedir@
188
native_tools = @native_tools@
189
oldincludedir = @oldincludedir@
191
program_transform_name = @program_transform_name@
193
sharedstatedir = @sharedstatedir@
194
sysconfdir = @sysconfdir@
195
target_alias = @target_alias@
196
TESTS = accent accentenc \
101
200
html-docdesc html-extrali html-min html-manuals html-para html-title \
102
203
macro-at menu-whitespace \
104
205
node-expand node-value node-whitespace \
108
209
noinst_SCRIPTS = $(TESTS)
110
210
EXTRA_DIST = $(noinst_SCRIPTS) \
111
accent.txi accentenc.txi accent-text.txi cond.txi \
211
accent.txi accentenc.txi accent-text.txi \
212
cond.txi copying.txi \
112
214
html-docdesc.txi html-extrali.txi html-min.txi html-para.txi html-title.txi \
216
include-value.txi incl-incl.txi \
113
217
macro-at.txi menu-whitespace.txi \
114
218
node-expand.txi node-value.txi node-whitespace.txi \
117
subdir = makeinfo/tests
118
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
119
CONFIG_HEADER = $(top_builddir)/config.h
121
SCRIPTS = $(noinst_SCRIPTS)
124
DIST_COMMON = Makefile.am Makefile.in
128
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
224
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
226
case '$(am__configure_deps)' in \
228
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
233
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu makeinfo/tests/Makefile'; \
129
234
cd $(top_srcdir) && \
130
235
$(AUTOMAKE) --gnu makeinfo/tests/Makefile
131
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
132
cd $(top_builddir) && \
133
CONFIG_HEADERS= CONFIG_LINKS= \
134
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
237
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
240
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
242
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
243
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
246
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
247
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
249
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
250
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
251
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
252
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
135
253
uninstall-info-am:
140
261
check-TESTS: $(TESTS)
141
@failed=0; all=0; xfail=0; xpass=0; \
262
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
142
263
srcdir=$(srcdir); export srcdir; \
143
264
list='$(TESTS)'; \
144
265
if test -n "$$list"; then \
185
309
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
188
dashes=`echo "$$banner" | sed s/./=/g`; \
314
if test "$$skip" -ne 0; then \
315
skipped="($$skip tests were not run)"; \
316
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
317
dashes="$$skipped"; \
320
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
321
report="Please report to $(PACKAGE_BUGREPORT)"; \
322
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
325
dashes=`echo "$$dashes" | sed s/./=/g`; \
189
326
echo "$$dashes"; \
190
327
echo "$$banner"; \
328
test -z "$$skipped" || echo "$$skipped"; \
329
test -z "$$report" || echo "$$report"; \
191
330
echo "$$dashes"; \
192
331
test "$$failed" -eq 0; \
195
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
198
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
200
334
distdir: $(DISTFILES)
201
@for file in $(DISTFILES); do \
202
if test -f $$file; then d=.; else d=$(srcdir); fi; \
335
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
336
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
337
list='$(DISTFILES)'; for file in $$list; do \
339
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
340
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
342
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
203
343
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
204
344
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
205
$(mkinstalldirs) "$(distdir)/$$dir"; \
346
$(mkdir_p) "$(distdir)$$dir"; \
207
350
if test -d $$d/$$file; then \
208
cp -pR $$d/$$file $(distdir) \
351
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
352
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
354
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
211
356
test -f $(distdir)/$$file \
212
357
|| cp -p $$d/$$file $(distdir)/$$file \