]> git.ipfire.org Git - thirdparty/automake.git/commit
refactor: in Automake::Options (no semantic change)
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 24 Feb 2012 13:35:06 +0000 (14:35 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 24 Feb 2012 16:12:17 +0000 (17:12 +0100)
commit00eb4ac9689ebc593e2d52ec3769e5696f105c35
tree72b8f6569316439b8c6b3bc36fc8904d358cc9d5
parent1eaed7c1f2ef3ec73ed0dbc6ee18e0707b3fcc2d
refactor: in Automake::Options (no semantic change)

* lib/Automake/Options.pm: Prefer leading spaces to leading tabs
throughout.  Minor whitespace and comment changes.
(_process_option_list): Simple refactoring to make the code more
pleasant to read and easier to modify in the future.  This
refactoring also reduces code duplication, with the help of ...
(_option_must_be_from_configure, _is_valid_easy_option): ... these
new internal subroutines.
* tests/tar3.test: Enhance.
* tests/silent-amopts.test: New, checks that automake complains if
the 'silent-rules' option is used in AUTOMAKE_OPTIONS.
* tests/list-of-tests.mk: Add it.
lib/Automake/Options.pm
tests/list-of-tests.mk
tests/silent-amopts.test [new file with mode: 0755]
tests/tar3.test