From cf7b3e0d5792f19ac1e941fa16007d06af300341 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 7 Apr 1999 02:15:16 +0000 Subject: [PATCH] * texinfo8.test: texinfo.tex is only disted by aux/Makefile. --- tests/ChangeLog | 2 ++ tests/texinfo8.test | 24 +++++++++++++++++------- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 030de670..232d248f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,7 @@ 1999-04-07 Alexandre Oliva + * texinfo8.test: texinfo.tex is only disted by aux/Makefile. + * texinfo8.test: New file. * Makefile.am (TESTS): Added texinfo8.test. diff --git a/tests/texinfo8.test b/tests/texinfo8.test index aabde05b..176cdaf4 100755 --- a/tests/texinfo8.test +++ b/tests/texinfo8.test @@ -1,27 +1,37 @@ #! /bin/sh -# Test to make sure texinfo.tex correctly installed by -a when we're -# using AC_CONFIG_AUX_DIR. Bug report by by Per Cederqvist. +# Test to make sure texinfo.tex is correctly installed and disted by +# -a when we're using AC_CONFIG_AUX_DIR. Bug report by by Per +# Cederqvist. . $srcdir/defs || exit 1 -echo 'AC_CONFIG_AUX_DIR(aux)' >> configure.in +cat > configure.in << 'END' +PACKAGE=nonesuch +VERSION=nonesuch +AC_ARG_PROGRAM +AC_PROG_INSTALL +AC_OUTPUT(Makefile aux/Makefile) +AC_CONFIG_AUX_DIR(aux) +END cat > Makefile.am << 'END' info_TEXINFOS = textutils.texi -magic: - @echo $(DISTFILES) END echo '@setfilename textutils.info' > textutils.texi test -d aux || mkdir aux +cat > aux/Makefile.am << 'END' +magic: + @echo $(DISTFILES) +END + $AUTOMAKE -a || exit 1 test -f aux/texinfo.tex && -$MAKE -s -f Makefile.in SHELL=/bin/sh magic | grep 'aux/texinfo\.tex' +$MAKE -s -f aux/Makefile.in SHELL=/bin/sh magic | grep 'texinfo\.tex' stat=$? -rm -rf aux exit $stat -- 2.43.5