12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac << 'END'
- AC_CONFIG_FILES([bar/Makefile:bar/Makefile.in:Makefile.bot])
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- SUBDIRS = bar
- EXTRA_DIST = Makefile.bot
- END
- mkdir bar
- cat > bar/Makefile.am << 'END'
- top-rule:
- @echo 'top rule'
- END
- cat > Makefile.bot << 'END'
- bot-rule:
- @echo 'bot rule'
- END
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE
- ./configure
- $MAKE
- cd bar
- run_make -O top-rule
- grep 'top rule' stdout
- run_make -O bot-rule
- grep 'bot rule' stdout
- cd ..
- $sleep
- cat > bar/Makefile.am << 'END'
- top-rule:
- @echo 'top2 rule'
- END
- $MAKE
- cd bar
- run_make -O top-rule
- grep 'top2 rule' stdout
- run_make -O bot-rule
- grep 'bot rule' stdout
- cd ..
- $sleep
- cat > Makefile.bot << 'END'
- bot-rule:
- @echo 'bot2 rule'
- END
- $MAKE
- cd bar
- run_make -O top-rule
- grep 'top2 rule' stdout
- run_make -O bot-rule
- grep 'bot2 rule' stdout
- cd ..
- $MAKE distcheck
- :
|