Hash :
7394aa3c
Author :
Date :
1999-08-27T05:44:13
* texinfo8.test: Use directory named `sub'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#! /bin/sh
# 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
cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=nonesuch
AC_ARG_PROGRAM
AC_PROG_INSTALL
AC_OUTPUT(Makefile sub/Makefile)
AC_CONFIG_AUX_DIR(sub)
END
cat > Makefile.am << 'END'
info_TEXINFOS = textutils.texi
END
echo '@setfilename textutils.info' > textutils.texi
test -d sub || mkdir sub
cat > sub/Makefile.am << 'END'
magic:
@echo $(DISTFILES)
END
$AUTOMAKE -a || exit 1
test -f sub/texinfo.tex &&
$MAKE -s -f sub/Makefile.in SHELL=/bin/sh magic | grep 'texinfo\.tex'
stat=$?
exit $stat