Hi Ben,

* Ben Pfaff wrote on Wed, Aug 25, 2010 at 07:22:58PM CEST:
> Current Automake appears to reorder the Makefile.am so that all
> variable assignments precede all rules, so in a Makefile.am the
> relative order of variable and rule definitions does not matter.

Right.

> Is this behavior documented?

I thought so, but can't find it right away now.  In any case, we
cannot guarantee to *not* reorder because the flattening of += and
the expansion of conditionals would probably not work otherwise.

> Is it guaranteed to remain in the future?  I could not easily find
> mention of it in the manual, but it is sometimes convenient.

Yes, that is the intention, and yes, I agree that it is convenient.

Thanks,
Ralf

Reply via email to