| Line | |
|---|
| 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 | PACKAGE=nonesuch
|
|---|
| 11 | VERSION=nonesuch
|
|---|
| 12 | AC_ARG_PROGRAM
|
|---|
| 13 | AC_PROG_INSTALL
|
|---|
| 14 | AC_OUTPUT(Makefile zardoz:one:two:three)
|
|---|
| 15 | END
|
|---|
| 16 |
|
|---|
| 17 | : > Makefile.am
|
|---|
| 18 | : > one
|
|---|
| 19 | : > two
|
|---|
| 20 | : > three
|
|---|
| 21 |
|
|---|
| 22 | $AUTOMAKE || exit 1
|
|---|
| 23 |
|
|---|
| 24 | # The rule should regenerate the file "zardoz".
|
|---|
| 25 | grep '^zardoz:one:two' Makefile.in && exit 1
|
|---|
| 26 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.