1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #! /bin/sh
- required=GNUmake
- . test-init.sh
- echo AC_OUTPUT >> configure.ac
- cat > Makefile.am <<'END'
- EXTRA_DIST = *.foo
- .PHONY: test
- test: distdir
- diff a.foo $(distdir)/a.foo
- diff b.foo $(distdir)/b.foo
- test ! -r $(distdir)/c.bar
- check-local:
- test -f $(srcdir)/a.foo
- test -f $(srcdir)/b.foo
- test ! -r $(srcdir)/c.bar
- END
- $ACLOCAL
- $AUTOMAKE
- $AUTOCONF
- echo aaa > a.foo
- echo bbb > b.foo
- echo ccc > c.bar
- ./configure
- $MAKE test
- :
|