123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #! /bin/sh
- . test-init.sh
- cat > configure.ac << 'END'
- AC_INIT([colon7], [1.0])
- AM_INIT_AUTOMAKE
- dnl: Please do not add proper m4 quoting here.
- AC_OUTPUT(subdir/bar:subdir/foo \
- Makefile \
- subdir/Makefile
- )
- END
- mkdir subdir
- : > Makefile.am
- : > subdir/foo
- cat > subdir/Makefile.am << 'END'
- test:
- case '$(DIST_COMMON)' in *subdir/foo*) exit 1;; *) exit 0;; esac
- echo ' ' $(DIST_COMMON) ' ' | grep '[ /]foo '
- .PHONY: test
- END
- $ACLOCAL
- $AUTOMAKE
- $FGREP 'bar.in' Makefile.in subdir/Makefile.in && exit 1
- $AUTOCONF
- ./configure
- cd subdir
- $MAKE test
- :
|