2002-02-18 Paul Eggert <eggert@twinsun.com>
[platform/upstream/automake.git] / tests / pr2.test
1 #! /bin/sh
2
3 # Test for bug reported in PR 2.
4
5 . $srcdir/defs || exit 1
6
7 cat > configure.in << 'END'
8 AC_INIT
9 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
10 AC_OUTPUT(README.foo:templ/README.foo.in Makefile)
11 END
12
13 : > Makefile.am
14
15 mkdir templ
16 : > templ/README.foo.in
17
18 $ACLOCAL || exit 1
19 $AUTOMAKE || exit 1
20
21 # Look for mkinstalldirs invocation for the templ directory.
22 # We use the `[^/]' to avoid matching `templ/README.foo.in'.
23 egrep 'mkinstalldirs.*templ([^/]|$)' Makefile.in