]> git.ipfire.org Git - thirdparty/automake.git/commit
refactor: processing of input makefile rules
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 20 Apr 2012 08:05:51 +0000 (10:05 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Apr 2012 07:49:13 +0000 (09:49 +0200)
commit64b18e07df13c9cc96232cc77e03f7d31a0b5046
tree677d25639e6a9c0cdf16d6aa56017a9f22a7ef1a
parentf1895f943d9f58e05fbb3f6ba1d3c5e53733a6a9
refactor: processing of input makefile rules

This is a pure refactoring, with no intended functional or semantic
changes.  It breaks up an overly-long function in three smaller
sub-functions.  This change will very especially useful for the work
on Automake-NG.

* lib/Automake/Rule.pm (define): Move quite a lot of code out, into ...
(_rule_defn_with_exeext_awareness, _maybe_warn_about_duplicated_target,
_conditionals_for_rule): ... these new subroutines.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/Automake/Rule.pm