* Bruno Haible wrote on Wed, Aug 23, 2006 at 08:00:57PM CEST:
> Ralf Wildenhues wrote:
> > This should only be an error if `missing' cannot guess the output file
> > name.  The fix is to use the flag -o or --output, to help `missing' to
> > infer.
> 
> And what about the cross-compiling case? 'help2man' bails out with an error
> if you have modified src/hello.c when cross-compiling:

Good question.  We could ask help2man to have it return a different exit
status if it gets an exit status of 126 from the program, and have it
return 63 then, which `missing' will interpret as version mismatch.

A downside may be that program files that aren't executable will cause
this too, then.  Those may be produced either by user error (forgot to
"chmod +x" a script) or by a failed link on some system (the HP-UX
linker may create such, for example; it's an open issue to fix this
consistently in the Autotools, the most difficult question being where
to fix this).

I can take this to bug-help2man if we can agree on proposing the change.

Cheers,
Ralf


Reply via email to