]> git.ipfire.org Git - thirdparty/automake.git/commit
dry run: use $(MFLAGS), not $(MAKEFLAGS), to determine whether running dry
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 2 Oct 2012 22:03:10 +0000 (00:03 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 2 Oct 2012 22:31:13 +0000 (00:31 +0200)
commit136a7f587daf8ee9af062703725a4d18f8ca2fa6
tree93f7c9b57f5eadf00b9bbd1d7e846f996d0b3f69
parent60f638dad223db8b459cd35c7d430d8e663c3e67
dry run: use $(MFLAGS), not $(MAKEFLAGS), to determine whether running dry

$(MFLAGS) does not containing the command line variable definitions, and
it always begins with a hyphen unless it is empty (MAKEFLAGS begins with
a hyphen only when it begins with an option that has no single-letter
version, such as '--warn-undefined-variables').  This allows use to make
stricter assumptions on its content, thus simplifying the implementation
of ...

* lib/am/header-vars.am (am__make_dryrun): ... this macro.
* t/make-dryrun.tap: Simplify accordingly.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/header-vars.mk
t/make-dryrun.tap