Test for PR automake/2:
[automake.git] / tests / pr2.test
blob2290eeebc7d31cfa376e1e02fa2ae9c31b826722
1 #! /bin/sh
3 # Test for bug reported in PR 2.
5 . $srcdir/defs || exit 1
7 cat > configure.in << 'END'
8 PACKAGE=nonesuch
9 VERSION=nonesuch
10 AC_ARG_PROGRAM
11 AC_PROG_INSTALL
12 AC_OUTPUT(README.foo:templ/README.foo.in Makefile)
13 END
15 : > Makefile.am
17 mkdir templ
18 : > templ/README.foo.in
20 $AUTOMAKE || exit 1
22 # Look for mkinstalldirs invocation for the templ directory.
23 # We use the `[^/]' to avoid matching `templ/README.foo.in'.
24 grep 'mkinstalldirs.*templ[^/]' Makefile.in