12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #! /bin/sh
- . test-init.sh
- cat > configure.ac <<END
- AC_INIT([$me], [1.0])
- AM_INIT_AUTOMAKE
- AC_CONFIG_FILES([Makefile:zardoz.in])
- AC_OUTPUT
- END
- cat > zardoz.am <<END
- .PHONY: dummy
- dummy:
- END
- $ACLOCAL
- $AUTOMAKE
- test -f zardoz.in
- $FGREP 'zardoz.am' zardoz.in
- $FGREP 'zardoz.in' zardoz.in
- sed -e 's|zardoz\.am|zrdz.am|g' \
- -e 's|zardoz\.in|zrdz.in|g' \
- <zardoz.in | $FGREP 'zardoz' && exit 1
- str='%% ZaR DoZ %%'
- $AUTOCONF
- ./configure
- test -f Makefile
- $MAKE dummy
- $MAKE -n zardoz && exit 1
- $sleep
- cat >> zardoz.am <<END
- check-local: testam testin testmk
- .PHONY: testam testin testmk
- testam:
- grep '$str' \$(srcdir)/zardoz.am
- testin:
- grep '$str' \$(srcdir)/zardoz.in
- testmk:
- grep '$str' Makefile
- END
- $MAKE Makefile
- $MAKE testam testin testmk
- $MAKE distcheck
- :
|