Tom Tromey <[EMAIL PROTECTED]> writes:
> With this patch we'll be doing this all the time instead of only in a
> certain obscure situation. Bummer.
I agree...
Another issue is that of @FOO@ variable in bin_PROGRAMS etc.
> Akim> -test "`fgrep '.c.o' Makefile.in | wc -l`" -eq 1
> Akim> +grep '^\.c\.o:' Makefile.in
> Akim> +grep '^\.c\.obj:' Makefile.in
>
> This change doesn't quite work:
>
> * It tests for a different problem. The old problem was that we could
> end up with more than one .c.o rule -- with the change we no longer
> check for that.
>
> * If the first grep fails the test case won't fail.
> You need an `|| exit 1'
Ahem, sorry...
I did this:
set -e
$AUTOMAKE -a
grep -c '^\.c\.o:' Makefile.in | grep '^1$'
grep -c '^\.c\.obj:' Makefile.in | grep '^1$'
exit 0