2002-02-18 Paul Eggert <eggert@twinsun.com>
[platform/upstream/automake.git] / tests / colon4.test
1 #! /bin/sh
2
3 # Make sure ":" works with files automake generates.
4 # This test is for multiple ":"s.
5 # Test from Maciej W. Rozycki.
6
7 . $srcdir/defs || exit 1
8
9 cat > configure.in << 'END'
10 AC_INIT
11 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
12 AC_OUTPUT(Makefile zardoz:one:two:three)
13 END
14
15 : > Makefile.am
16 : > one
17 : > two
18 : > three
19
20 $ACLOCAL || exit 1
21 $AUTOMAKE || exit 1
22
23 # The rule should regenerate the file "zardoz".
24 grep '^zardoz:one:two' Makefile.in && exit 1
25 exit 0