[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: order of variables and rules in output
From: |
Ralf Wildenhues |
Subject: |
Re: order of variables and rules in output |
Date: |
Wed, 25 Aug 2010 20:30:05 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
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