typo + new comment
[automake.git] / tests / distdir.test
blobcfc15d9f5fed726531e89d8e6adb72f8d1acbd8b
1 #! /bin/sh
3 # Test to make sure subdirs in EXTRA_DIST work. Also tests to make
4 # sure "./" is ignored.
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'END'
9 EXTRA_DIST = foo/bar ./joe
10 END
12 $AUTOMAKE || exit 1
14 grep '\$(mkinstalldirs).*\.' Makefile.in && exit 1
15 grep '\$(mkinstalldirs).*foo' Makefile.in || exit 1
17 # Check to make sure `foo' isn't made in build directory.
18 grep 'mkinstalldirs.*foo.*foo' Makefile.in && exit 1
19 exit 0