# Check that info files are built in builddir and in srcdir can safely
# co-exist. This setup is obtained by having two info files, only one
# of which being cleaned.
-# (Similar to txinfo16.test, plus CLEANFILES).
-# (See also txinfo23.test and txinfo24.test).
+# (Similar to txinfo16.sh, plus CLEANFILES).
+# (See also txinfo23.sh and txinfo24.sh).
-required='makeinfo tex texi2dvi-o'
+required='makeinfo tex texi2dvi'
. ./defs || exit 1
cat >> configure.ac << 'END'
../configure
$MAKE
test -f main.info
-test ! -f ../main.info
-test ! -f other.info
+test ! -e ../main.info
+test ! -e other.info
test -f ../other.info
cd ..
# rule is always triggered. Still that's not a reason for 'make'
# to think 'version.texi' has been created...
test -f main.info
-test ! -f other.info
+test ! -e other.info
$MAKE dvi
test -f main.dvi
test -f other.dvi