Alexandre Duret-Lutz wrote:
> 3) automake is not yet able to distinguish rule with commands from
> rule without commands (no kidding)
ok, then I understand why it can't be fixed before automake-1.8...
Thanks for adding the warning in the NEWS file and in the documentation.
> 2) this behavior was documented
Not really. The automake-1.7.8 manual is ambiguous on the issue. It says
"A target defined in `Makefile.am' generally overrides any such
target of a similar name that would be automatically generated by
`automake'."
But in standard "make" terminology there is no such thing as "defining
a target". You can only write rules - rules with commands and rules without
commands. Thus the manual is ambiguous on whether adding a rule without
commands is considered to override automake's definition or not.
Bruno