123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- #! /bin/sh
- required='makeinfo tex texi2dvi'
- . test-init.sh
- if useless_vpath_rebuild; then
- skip_ "$MAKE has brittle VPATH support"
- fi
- echo AC_OUTPUT >> configure.ac
- cat > Makefile.am << 'END'
- AUTOMAKE_OPTIONS = info-in-builddir
- info_TEXINFOS = foo.texi subdir/bar.texi mu.texi
- subdir_bar_TEXINFOS = subdir/inc.texi
- CLEANFILES = mu.info
- check-local:
- test ! -e mu.info
- test -f $(srcdir)/mu.info
- END
- mkdir subdir
- cat > foo.texi << 'END'
- \input texinfo
- @setfilename foo.info
- @settitle foo
- @node Top
- Hello walls.
- @include version.texi
- @bye
- END
- cat > mu.texi << 'END'
- \input texinfo
- @setfilename mu.info
- @settitle mu
- @node Top
- Mu mu mu.
- @bye
- END
- cat > subdir/bar.texi << 'END'
- \input texinfo
- @setfilename bar.info
- @settitle bar
- @node Top
- Hello walls.
- @include inc.texi
- @bye
- END
- echo "I'm included." > subdir/inc.texi
- $ACLOCAL
- $AUTOMAKE --add-missing
- $AUTOCONF
- mkdir build
- cd build
- ../configure
- $MAKE info
- test -f foo.info
- test -f subdir/bar.info
- test -f mu.info
- test -f ../stamp-vti
- test -f ../version.texi
- test ! -e ../foo.info
- test ! -e ../subdir/bar.info
- test ! -e ../mu.info
- $MAKE clean
- test -f foo.info
- test -f subdir/bar.info
- test ! -e mu.info
- test -f ../stamp-vti
- test -f ../version.texi
- $sleep
- touch ../stamp-vti
- $MAKE distcheck
- test -f mu.info
- $MAKE distclean
- test -f ../stamp-vti
- test -f ../version.texi
- test -f foo.info
- test -f subdir/bar.info
- test ! -e mu.info
- ../configure
- $MAKE maintainer-clean
- test ! -e ../stamp-vti
- test ! -e ../version.texi
- test ! -e stamp-vti
- test ! -e version.texi
- test ! -e foo.info
- test ! -e subdir/bar.info
- test ! -e mu.info
- :
|