Index: lib/Automake/DisjConditions.pm =================================================================== RCS file: /cvs/automake/automake/lib/Automake/DisjConditions.pm,v retrieving revision 1.8 diff -u -p -u -r1.8 DisjConditions.pm --- lib/Automake/DisjConditions.pm 9 Aug 2003 20:11:45 -0000 1.8 +++ lib/Automake/DisjConditions.pm 12 Aug 2003 22:24:11 -0000 @@ -458,7 +458,7 @@ sub ambiguous_p ($$$) { my ($self, $var, $cond) = @_; - # Note that these rules doesn't consider the following + # Note that these rules don't consider the following # example as ambiguous. # # if COND1 Index: lib/Automake/Rule.pm =================================================================== RCS file: /cvs/automake/automake/lib/Automake/Rule.pm,v retrieving revision 1.1 diff -u -p -u -r1.1 Rule.pm --- lib/Automake/Rule.pm 12 Aug 2003 17:52:09 -0000 1.1 +++ lib/Automake/Rule.pm 12 Aug 2003 22:24:11 -0000 @@ -128,7 +128,7 @@ use vars '%actions'; =item <$suffix_rules> This maps the source extension for all suffix rule seen to -a C<\hash> whose keys are the possible output extensions. +a C whose keys are the possible output extensions. Note that this is transitively closed by construction: if we have @@ -162,7 +162,7 @@ by the languages supported by Automake). of `\..*$') to match extensions allows Automake to support dot-less extensions. -New extension should be registered with C. +New extensions should be registered with C. =cut @@ -218,7 +218,7 @@ sub msg_cond_rule ($$$$;%) Messages about rules. -=cute +=cut sub msg_rule ($$$;%) { @@ -774,8 +774,8 @@ sub define ($$$$$) for my $t (split (' ', $target)) { ++$target_count; - # Check the rule for being a suffix rule. If so, store in a hash. - # Either it's a rule for two known extensions... + # Check if the rule is a suffix rule: either it's a rule for + # two known extensions... if ($t =~ /^($KNOWN_EXTENSIONS_PATTERN)($KNOWN_EXTENSIONS_PATTERN)$/ # ...or it's a rule with unknown extensions (.i.e, the rule # looks like `.foo.bar:' but `.foo' or `.bar' are not Index: lib/Automake/Variable.pm =================================================================== RCS file: /cvs/automake/automake/lib/Automake/Variable.pm,v retrieving revision 1.17 diff -u -p -u -r1.17 Variable.pm --- lib/Automake/Variable.pm 12 Aug 2003 17:52:09 -0000 1.17 +++ lib/Automake/Variable.pm 12 Aug 2003 22:24:11 -0000 @@ -133,7 +133,7 @@ non-object). my $_VARIABLE_PATTERN = 'address@hidden' . "\$"; # The order in which variables should be output. (May contain -# duplicates -- only the first occurence matters.) +# duplicates -- only the first occurrence matters.) my @_var_order; # This keeps track of all variables defined by &_gen_varname. @@ -229,7 +229,7 @@ sub msg_cond_var ($$$$;%) =item C -messages about variables. +Messages about variables. =cut Index: tests/cond20.test =================================================================== RCS file: /cvs/automake/automake/tests/cond20.test,v retrieving revision 1.4 diff -u -p -u -r1.4 cond20.test --- tests/cond20.test 3 Jul 2003 18:58:50 -0000 1.4 +++ tests/cond20.test 12 Aug 2003 22:29:01 -0000 @@ -36,7 +36,7 @@ cat > Makefile.am << 'END' var1 = $(var2) if COND1 -var2 = $(var1:=.c) foo.cc +var2 = $(var1:=.c) foo.c else var2 = $(var1:=.c) endif