From: Alexandre Oliva Date: Wed, 7 Apr 1999 02:15:16 +0000 (+0000) Subject: * texinfo8.test: texinfo.tex is only disted by aux/Makefile. X-Git-Tag: last-merge-into-user-dep-gen-branch~47 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=cf7b3e0d5792f19ac1e941fa16007d06af300341;p=automake.git * texinfo8.test: texinfo.tex is only disted by aux/Makefile. --- 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