@list='$(MANS)'; if test -n "$$list" \
- && grep 'ab help2man is required to generate this page' $$list
>/dev/null; then \
- echo "error: found man pages containing the \`missing help2man'
replacement text:" >&2; \
-
I'm still wondering about whether and how to document this in the
manual.
I think one place would be the Preparing Distributions node, explaining
that distcheck and dist will fail if `missing'-generated man pages are
present.
And perhaps the maintainer-mode node, since that is where mis
> The following patch (against git Automake) moves the test to the
> `distdir' target, which is updated by both `dist' and `distcheck'.
Looks good.
Werner
. I hope that is a reasonably safe assumption.
Cheers,
Ralf
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
Hello Roumen,
let's keep the others in Cc:, I don't think they all read bug-automake.
* Roumen Petrov wrote on Fri, Nov 28, 2008 at 09:48:13PM CET:
> Ralf Wildenhues wrote:
>> * Werner LEMBERG wrote on Fri, Nov 28, 2008 at 07:18:46AM CET:
Anyway, maintainer-mode isn't very interesting; few p
Check that none of the man pages contain the error message. If any
do, error out with a descriptive message.
Ok, sounds good.
We could also move such a check into 'distcheck'. That way 'dist' could
still work if you don't have help2man, only 'distcheck' wouldn't.
I think it wou
Ralf Wildenhues wrote:
* Werner LEMBERG wrote on Fri, Nov 28, 2008 at 07:18:46AM CET:
Anyway, maintainer-mode isn't very interesting; few packages use it.
The more important question is what to do in non-maintainer mode,
where (it seems to me) exactly the same problem will occur. For
instance,
> Anyway, maintainer-mode isn't very interesting; few packages use it.
> The more important question is what to do in non-maintainer mode,
> where (it seems to me) exactly the same problem will occur. For
> instance, in GNU Hello (well, except that has only one man page) or
> coreutils.
Well, if
* Karl Berry wrote on Fri, Nov 28, 2008 at 01:04:22AM CET:
> Wl> If help2man is found, and --enable-maintainer-mode is active, simply
> delete *all* man pages before rebuilding them.
>
> It's not clear to me how to do that. The man page targets are normal
> targets. Adding the equivalent
Karl Berry wrote:
> Sorry, I still do. I don't see that texinfo is doing anything different
> than (say) coreutils, wrt help2man.
Coreutils includes a copy of help2man with the distribution image so
that it will always be available. Whether perl is available to run it
is another story.
Bob
wl> My opinion: Provide a switch to `missing' (say, `-k' or
`--keep-going', similar to the same option in `make') .
But who's going to use it? missing is invoked in the bowels of the
generated Makefiles when help2man is not available. I'm not sure
there's a simple way to override it.
> I'm unsure however what would be better. Let 'missing' not
> create the output file and exit 1? Let 'missing' create the
> output file and exit 0, so that all man pages will contain the
> `.ab' error message?
My opinion: Provide a switch to `missing' (say, `-k' or
`--keep-going', similar to t
> Instead, it is a run-time requirement caused by the
> --enable-mainter switch.
>
> I was not aware that --enable-maintainer-mode has anything to do
> with help2man.
Mhmm, I'm probably wrong: It doesn't hurt that dependencies to create
man pages are active even in a normal build (since t
Hello Karl, Werner,
* Karl Berry wrote on Thu, Nov 27, 2008 at 01:01:42AM CET:
> Instead, it is a
> run-time requirement caused by the --enable-mainter switch.
>
> I was not aware that --enable-maintainer-mode has anything to do with
> help2man. The reason I do that for Texinfo is simply
> Although I could change this in Texinfo as you suggest, it seems to
> me it affects every package using help2man and there's no reason to
> change Texinfo specially.
I don't think so. The difference to other packages is probably that
Sorry, I still do. I don't see that texinfo
> I suggest that in case help2man isn't found, the dummy version
> of info.1 gets removed (perhaps by adding `|| rm -f $@ && false'
> to the rules using HELP2MAN).
>
> Although I could change this in Texinfo as you suggest, it seems to
> me it affects every package using help2man and t
Hi everyone,
(Automake folks: Werner sent the following to bug-texinfo.)
I've just tried to compile texinfo from the CVS; everything worked
fine until info.1 was generated -- no help2man was installed on my
system. After fixing this, building succeeded.
However, I've observed on
17 matches
Mail list logo