1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac <<END
- AC_CONFIG_FILES([sub/Makefile])
- AC_OUTPUT
- END
- cat > Makefile.am <<'END'
- SUBDIRS = sub
- sub/acconfig.h:
- echo target $@ should not be built >&2; exit 1
- check-local: distdir
- ls -l $(distdir)/sub
- test ! -f $(distdir)/sub/acconfig.h
- END
- mkdir sub
- cat > sub/Makefile.am <<'END'
- acconfig.h:
- echo target $@ should not be built >&2; exit 1
- check-local:
- echo $(DISTFILES) | grep 'acconfig\.h' && exit 1; :
- echo $(DIST_COMMON) | grep 'acconfig\.h' && exit 1; :
- END
- : > sub/acconfig.h
- $ACLOCAL
- $AUTOMAKE
- $AUTOCONF
- ./configure
- $MAKE check
- :
|