[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25358: Cross Compiling fails because of help2man

From: Assaf Gordon
Subject: bug#25358: Cross Compiling fails because of help2man
Date: Sat, 7 Jan 2017 23:23:22 -0500


> On Jan 6, 2017, at 10:58, Jim Meyering <address@hidden> wrote:
> On Fri, Jan 6, 2017 at 1:44 AM, Assaf Gordon <address@hidden> wrote:
>> We do already distribute 'doc/sed.1' in the tarball, and currently always 
>> rebuild it,
>> I wonder if it's worth making an exception in this case?
> I don't feel strongly about this either way. You're welcome to make the call.
>>    AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
> Since that's all coreutils does, I presume it will work for us.
>> In that case, perhaps it's worth adding a test for perl and skipping if it 
>> doesn't exist ?
> This seems worthwhile.

The attach suggested patch adds all three cases to 'configure.ac',
and 'doc/sed.1' is build conditionally.

It leaves one case un-handled: cross-compilation directly from git.
If this is needed, then either 'sed' can be first built natively (and 
'doc/sed.1' will be created),
or we can add a special case and create a stub doc/sed.1 file.

Comments welcomed,
  - assaf

Attachment: 0001-build-skip-building-man-page-if-needed.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]