]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] maintcheck: refactor checks on obsolete variable names
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 28 May 2012 08:26:56 +0000 (10:26 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 29 May 2012 10:48:04 +0000 (12:48 +0200)
commite10cbf0a2af598d44229525ccd58869b24b62ed5
tree33c548428d8fee148aa2387df55c02ed7f47bba4
parent04ea4fed10ada232fcd75a16b46e67f214396bf4
[ng] maintcheck: refactor checks on obsolete variable names

This is just a preparatory refactoring, to make future additions
easier.

* syntax-checks.mk (sc_renamed_variables_rules): New autocomputed
variable.
($(sc_renamed_variables_rules)): New static pattern rule, subsuming
most of the existing checks against the use of old names for some
automake provided make variables.
(syntax_check_rules): Add the contents of the new variable, and do
not explicitly list the checks subsumed by it.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
syntax-checks.mk