Don't let an envvar setting of "$fail" cause build failure.
commite58e5b453ad7b3cbda6c6f0968a63c001203c082
authorJim Meyering <jim@meyering.net>
Sat, 31 Oct 2009 16:47:58 +0000 (31 17:47 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 31 Oct 2009 16:51:38 +0000 (31 17:51 +0100)
tree5ba371fc2f0507bc18c85a47da63ac7a5317a326
parent3b46760cc195327ca3ab529fa381b788710838cc
Don't let an envvar setting of "$fail" cause build failure.

Without this change, in a project using an automake-generated
Makefile, "make fail=anything" would fail inappropriately,
due to the `test -z "$$fail"' at the end of this emitted rule:

* lib/am/subdirs.am ($(RECURSIVE_TARGETS)): Initialize "fail=" to keep
an envvar setting of that variable from causing unwarranted failure.
($(RECURSIVE_CLEAN_TARGETS)): Likewise.
* tests/subdir10.test: New test.
* tests/Makefile.am: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
Makefile.in
lib/Automake/Makefile.in
lib/Makefile.in
lib/am/subdirs.am
tests/Makefile.am
tests/Makefile.in
tests/subdir10.test [new file with mode: 0755]