distuninstallcheck: fail also when only one file is left installed
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 23 Sep 2011 14:06:59 +0000 (16:06 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 27 Sep 2011 08:27:50 +0000 (10:27 +0200)
commita2498fe8d148c507e5e09b7de8a5aee9f2418e5c
tree0fcf9f9c21febb3adf0b7d7c50e53d35800d5294
parentb9fa1fc1eb50d7907764ec0972a674548a7bd8b3
distuninstallcheck: fail also when only one file is left installed

This change fixes automake bug#9579.

* lib/am/distdir.am (distuninstallcheck): Be stricter in ignoring
a potential `dir' file created by install-info and left installed.
Also, be more careful about "this can't happen" kind of errors.
(am__distuninstallcheck_listfiles): New internal helper macro.
* tests/distcheck-pr9579.test: New test.
* tests/distcheck-override-infodir.test: Likewise.
* tests/Makefile.am (TESTS): Add them.
* NEWS, THANKS: Update.

Report by Nick Bowler.
ChangeLog
Makefile.in
NEWS
THANKS
lib/am/distdir.am
tests/Makefile.am
tests/Makefile.in
tests/distcheck-override-infodir.test [new file with mode: 0755]
tests/distcheck-pr9579.test [new file with mode: 0755]