123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac << 'END'
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- include_HEADERS = some/file another/sub/subsub/file2 yet/another/file3
- EXTRA_DIST = foo/bar joe $(top_srcdir)/woo/doo $(srcdir)/dada \
- some another/sub yet \
- some another/sub yet
- all-local:
- $(MKDIR_P) another/sub/subsub
- touch another/sub/subsub/file2
- CLEANFILES = another/sub/subsub/file2
- check-local:
- test -f $(srcdir)/foo/bar
- test -f $(srcdir)/woo/doo
- test -f $(srcdir)/joe
- test -f $(srcdir)/dada
- test -f $(srcdir)/some/file
- test -f $(srcdir)/another/sub/subsub/file2 \
- || test -f /another/sub/subsub/file2
- test -f $(srcdir)/yet/another/file3
- END
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE
- mkdir foo woo some another another/sub another/sub/subsub yet yet/another
- touch foo/bar joe woo/doo dada some/file another/sub/subsub/file2
- touch yet/another/file3
- mkdir build
- cd build
- ../configure
- $MAKE distdir
- test -d foo && exit 1
- rm -rf $me-1.0
- run_make -O -e IGNORE VERSION=10 MKDIR_P='echo MKDIR_P' distdir
- grep 'MKDIR_P.*\.' stdout && exit 1
- cd ..
- ./configure --prefix "$(pwd)"
- $MAKE distcheck
- :
|