Revamp semantics for `missing help2man' and manpage distribution.
commit0fb020fa6e1959f06f44427f4b6b0ca99e0a2745
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 21 Dec 2008 21:38:37 +0000 (21 22:38 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 21 Dec 2008 21:38:37 +0000 (21 22:38 +0100)
tree23bca9935fa285475ed2993977f9c15e7c5a96a2
parent08810c8aba0635190b8d6d230fec651c5b44698b
Revamp semantics for `missing help2man' and manpage distribution.

Previously, `missing help2man' would create a missing man page
containing an error message, and exit 1.  This does not play
well with `make': the next run will see this particular man page
as being up to date, and will only error out on the next
generated man page, if any; repeat until all pages are done.
This patch changes `missing' to exit successfully in this case,
but `make dist' will ensure that no such man pages are packaged.

* lib/missing: Exit successfully even if we create a replacement
page due to missing help2man.
* automake.in (make_paragraphs): Define %HAVE-MANS% to be true
if this makefile deals with man pages.
* lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%,
check that no man page in $(MANS) contains the replacement text
from `missing'.
* tests/man4.test: New test.
* tests/Makefile.am: Update.
* NEWS: Reorder a bit, update.
* THANKS: Update.
Report by Werner Lemberg and Karl Berry.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
THANKS
automake.in
doc/Makefile.in
lib/am/distdir.am
lib/missing
tests/Makefile.am
tests/Makefile.in
tests/man4.test [new file with mode: 0755]