]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] opts: new 'ng' option, to better differentiate from mainstream Automake
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 14 Apr 2012 23:33:48 +0000 (01:33 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 20 Apr 2012 13:25:45 +0000 (15:25 +0200)
commitb30e38cb5d07cc6a4d5545e1f42ac717c0992a85
tree3e71c23634811547ee122e2c80e7347eb14d75ee
parent3992692e8a505a4600dab66c4c0e5ce0dba30e57
[ng] opts: new 'ng' option, to better differentiate from mainstream Automake

We add a new no-op option 'ng', that will be recognized by Automake-NG but
not by mainstream Automake.  It can be used by developers to declare that
their build system requires Automake-NG, and in a way that will ensure a
clear error if mainstream Automake is used by mistake.

* lib/Automake/Options.pm (_is_valid_easy_option): Recognize 'ng'.
* doc/automake.texi: Document the new option and its purpose.
* t/option-ng.sh: New test.
* t/list-of-tests.mk: Add it.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
doc/automake.texi
lib/Automake/Options.pm
t/list-of-tests.mk
t/option-ng.sh [new file with mode: 0755]