+2009-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ For PR automake/540:
+ Document some formatting restrictions for Makefile.am files.
+ * doc/automake.texi (General Operation, Usage of Conditionals):
+ Variable assignments should not be indented by TABs, rule commands
+ should. Conditional keyword statements should not be indented.
+ * THANKS: Update.
+ Report by Luo Yi.
+
2009-05-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix copyright years in *.am files.
Leo Davis ldavis@fonix.com
Leonardo Boiko leoboiko@conectiva.com.br
Loulou Pouchet loulou@lrde.epita.fr
+Luo Yi luoyi.ly@gmail.com
Maciej Stachowiak mstachow@mit.edu
Maciej W. Rozycki macro@ds2.pg.gda.pl
Manu Rouat emmanuel.rouat@wanadoo.fr
specified on the left. Automake will translate the operator into
an ordinary @samp{=} operator; @samp{+=} will thus work with any make program.
+@cindex indentation
+Further note that variable assignments should not be indented with
+@key{TAB} characters, use spaces if necessary. On the other hand,
+rule commands should be indented with a leading @key{TAB} character.
+
Automake tries to keep comments grouped with any adjoining rules or
variable definitions.
@end example
@noindent
-Unbalanced conditions are errors.
+Unbalanced conditions are errors. The @code{if}, @code{else}, and
+@code{endif} statements should not be indented, i.e., start on column
+one.
The @code{else} branch of the above two examples could be omitted,
since assigning the empty string to an otherwise undefined variable