coreutils
[Top][All Lists]
Advanced

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

[PATCH] maint: avoid patching help2man


From: Bernhard Voelker
Subject: [PATCH] maint: avoid patching help2man
Date: Thu, 12 Sep 2013 00:33:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

[I started a new thread for this, because the topic is quite
unrelated to whether help2man should include NLS or not.]

On 09/11/2013 07:45 AM, Bernhard Voelker wrote:> [re-adding the list]
> [...] besides the NLS issue above, the is yet another
> one:
> 
> The files help2man.{in,diff} are missing in the distribution:
> 
>   make[2]: *** No rule to make target `man/help2man.in', \
>   needed by `man/help2man'.  Stop.
> 
> And this in turn means that we'd need patch(1) in a distribution
> build.  I'd like to avoid this new dependency.
> In the coreutils-specific 'help2man.diff', there are 2 things
> going on:
> a) Remove the line
>    "For complete documentation, run: info coreutils 'PRG invocation'"
>    This can be done with a `sed '/For complete/d'` afterwards.
> b) Changing the pointer to the info page from "info PRG" to
>    "info coreutils 'PRG invocation'".
>    We can use help2man's --info-page=... option for this.
> After that, we can use the original 'help2man' without the need
> for patching it in the distribution tarball.
> I'll come up with a patch soon.

The attached patch moves the new (NLS-enabled) upstream 'help2man'
back to it's original place without the need for patching it, and
above all without the newly introduced requirement to have the
patch(1) utility in distribution builds.

WDYT?

Have a nice day,
Berny

Attachment: help2man-avoid-patching.patch
Description: Text Data


reply via email to

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