123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- #! /bin/sh
- required='makeinfo tex texi2dvi dvips'
- . test-init.sh
- mkdir sub
- cat >> configure.ac << 'END'
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- info_TEXINFOS = main.texi other.texi sub/another.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
- cat > sub/another.texi << 'END'
- \input texinfo
- @setfilename another.info
- @settitle another
- @node Top
- Hello walls.
- @include version3.texi
- @bye
- END
- $ACLOCAL
- $AUTOMAKE --add-missing
- $AUTOCONF
- ./configure
- $MAKE dvi ps pdf html
- test -f main.dvi
- test -f main.ps
- test -f main.html || test -d main.html
- test -f main.pdf
- test -f other.pdf
- test -f sub/another.pdf
- test -f other.dvi
- test -f other.html || test -d other.html
- test -f other.ps
- test -f sub/another.dvi
- test -f sub/another.html || test -d sub/another.html
- test -f sub/another.ps
- $MAKE mostlyclean
- ls *.aux && exit 1
- ls sub/*.aux && exit 1
- test -f main.dvi
- test -f main.ps
- test -f main.html || test -d main.html
- test -f main.pdf
- test -f other.pdf
- test -f sub/another.pdf
- test -f other.dvi
- test -f other.html || test -d other.html
- test -f other.ps
- test -f sub/another.dvi
- test -f sub/another.html || test -d sub/another.html
- test -f sub/another.ps
- $MAKE clean
- test ! -e main.dvi
- test ! -e main.ps
- test ! -e main.html
- test ! -e main.pdf
- test ! -e other.pdf
- test ! -e sub/another.pdf
- test ! -e sub/yetanother.pdf
- test ! -e other.dvi
- test ! -e other.html
- test ! -e other.ps
- test ! -e sub/another.dvi
- test ! -e sub/another.html
- test ! -e sub/another.ps
- ./configure
- $MAKE
- $MAKE distcheck
- :
|