123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #! /bin/sh
- . test-init.sh
- mkdir testdir
- cd testdir
- mv ../configure.ac .
- cat >> configure.ac << END
- AC_CONFIG_FILES([a/foo.sh:../testdir/a/foo.sh.in])
- AC_CONFIG_FILES([a/Makefile])
- AC_OUTPUT
- END
- mkdir a
- echo SUBDIRS = a >Makefile.am
- : >a/Makefile.am
- echo foo >a/foo.sh.in
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE --add-missing
- ./configure
- $MAKE
- test "$(cat a/foo.sh)" = foo
- $sleep
- echo 'bar' >a/foo.sh.in
- cd a
- $MAKE foo.sh
- test "$(cat foo.sh)" = bar
- :
|