123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- #! /bin/sh
- required='makeinfo tex texi2dvi'
- . test-init.sh
- cat >> configure.ac << 'END'
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- CLEANFILES = [a-m]*.info
- info_TEXINFOS = main.texi other.texi
- END
- cat > main.texi << 'END'
- \input texinfo
- @setfilename main.info
- @settitle main
- @node Top
- Hello walls.
- @include version.texi
- @bye
- END
- cat > other.texi << 'END'
- \input texinfo
- @setfilename other.info
- @settitle other
- @node Top
- Hello walls.
- @include version2.texi
- @bye
- END
- $ACLOCAL
- $AUTOCONF
- AUTOMAKE_fails --add-missing
- grep "Makefile\.am:.*undocumented.* automake hack" stderr
- grep "Makefile\.am:.*'info-in-builddir' automake option" stderr
- $AUTOMAKE --add-missing -Wno-obsolete
- mkdir build
- cd build
- ../configure
- $MAKE
- test -f main.info
- test ! -e ../main.info
- test ! -e other.info
- test -f ../other.info
- cd ..
- rm -rf build
- ./configure
- $MAKE
- test -f main.info
- test -f other.info
- test -f stamp-vti
- test -f version.texi
- test -f stamp-1
- test -f version2.texi
- $sleep
- touch stamp-vti
- touch stamp-1
- $MAKE distclean
- test -f stamp-vti
- test -f stamp-1
- test -f version.texi
- test -f version2.texi
- mkdir build
- cd build
- ../configure
- $MAKE
- test -f main.info
- test ! -e other.info
- $MAKE dvi
- test -f main.dvi
- test -f other.dvi
- $MAKE distcheck
- :
|