diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2001-11-09 17:39:46 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2001-11-09 17:39:46 +0000 |
commit | 6ca003677b8f60f175038b28f6122921eb6409d6 (patch) | |
tree | c6d1d45bd8f003a508deb4efb996a82a94ff96be /tests/extra5.test | |
parent | b0c1ea15f01080ff42acecc6ebdedfb2faceb673 (diff) | |
download | automake-6ca003677b8f60f175038b28f6122921eb6409d6.tar.gz |
* lib/am/distdir.am (distdir): Also look for directory in build
directory first. (See 2001-05-14.)
* tests/Makefile.am (TESTS): Add extra5.test.
* tests/extra5.test: New file.
From Dean Povey.
Diffstat (limited to 'tests/extra5.test')
-rwxr-xr-x | tests/extra5.test | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/extra5.test b/tests/extra5.test new file mode 100755 index 000000000..58f7b99e3 --- /dev/null +++ b/tests/extra5.test @@ -0,0 +1,26 @@ +#! /bin/sh + +# Check to make sure EXTRA_DIST can contain a directory from $buildir. +# From Dean Povey. + +. $srcdir/defs || exit 1 + +echo AC_OUTPUT >> configure.in + +cat > Makefile.am << 'END' +EXTRA_DIST=foo + +foo: + mkdir foo + touch foo/bar +END + +set -e + +$ACLOCAL +$AUTOMAKE +$AUTOCONF +mkdir build +cd build +../configure +make distdir |