summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1999-04-07 02:15:17 +0000
committerAlexandre Oliva <oliva@dcc.unicamp.br>1999-04-07 02:15:17 +0000
commit7d2b6f05afbb4e776b7cff666f5e19b398d1bf0f (patch)
tree465aa6ceca25e7b97ee4bf1b59b86bfaa7fcc1d2
parentda3d0bb163473912697d6d63c6b3d6be12d39c54 (diff)
downloadautomake-7d2b6f05afbb4e776b7cff666f5e19b398d1bf0f.tar.gz
* texinfo8.test: texinfo.tex is only disted by aux/Makefile.
-rw-r--r--tests/ChangeLog2
-rwxr-xr-xtests/texinfo8.test24
2 files changed, 19 insertions, 7 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 030de6700..232d248f0 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,5 +1,7 @@
1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * 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 aabde05b2..176cdaf49 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