typo + new comment
[automake.git] / tests / colon4.test
blobbf1f91069c027f9c679ce826e813967b1f58bc41
1 #! /bin/sh
3 # Make sure ":" works with files automake generates.
4 # This test is for multiple ":"s.
5 # Test from Maciej W. Rozycki.
7 . $srcdir/defs || exit 1
9 cat > configure.in << 'END'
10 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
11 PACKAGE=nonesuch
12 VERSION=nonesuch
13 AC_ARG_PROGRAM
14 AC_PROG_MAKE_SET
15 AC_PROG_INSTALL
16 AC_OUTPUT(Makefile zardoz:one:two:three)
17 END
19 : > Makefile.am
20 : > one
21 : > two
22 : > three
24 $AUTOMAKE || exit 1
26 # The rule should regenerate the file "zardoz".
27 grep '^zardoz:one:two' Makefile.in && exit 1
28 exit 0