1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac <<'END'
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- TEXINFO_TEX = tex/texinfo.tex
- info_TEXINFOS = main.texi
- .PHONY: test
- test:
- test tex/texinfo.tex = $(TEXINFO_TEX)
- test -d '$(am__TEXINFO_TEX_DIR)'
- case '$(am__TEXINFO_TEX_DIR)' in tex|./tex) :;; *) exit 1;; esac
- END
- cat > main.texi << 'END'
- \input texinfo
- @setfilename main.info
- END
- mkdir tex
- : > tex/texinfo.tex
- $ACLOCAL
- $AUTOMAKE
- grep TEX Makefile.in
- grep '^TEXINFO_TEX *= *tex/texinfo\.tex *# some comment w/ a slash *$' Makefile.in
- $AUTOCONF
- ./configure
- $MAKE test
- :
|