[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-5.1.1 with patch for paste.c build feedback report
From: |
Jim Meyering |
Subject: |
Re: coreutils-5.1.1 with patch for paste.c build feedback report |
Date: |
Fri, 23 Jan 2004 16:38:02 +0100 |
"Nelson H. F. Beebe" <address@hidden> wrote:
> I applied the patch for paste.c to the coreutils-5.1.1 distribution,
> and named the new one coreutils-5.1.1.p01.
>
> On 11 attempts, the build almost completed, but then stopped like
> this:
>
> WARNING: `help2man' is missing on your system. You should only need it
> if
...
I recently made the following changes.
The latter solves the above problem.
However, this change isn't ideal because it invokes the help2man
script directly, and that loses on systems without a working
/usr/bin/perl. I'll fix it to prefix the help2man invocation
with `$(PERL) --'.
2004-01-22 Jim Meyering <address@hidden>
* man/help2man: Fix it so using --info-page='coreutils PROG' works.
* man/Makefile.am (.x.1): Invoke our own (tweaked) copy of help2man.
Use --info-page='coreutils PROG' option.
Now, readlink.1 refers the user to `info coreutils readlink'
rather than to `info readlink'. Reported by Matt Swift.
Index: help2man
===================================================================
RCS file: /fetish/cu/man/help2man,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -u -r1.22 -r1.23
--- help2man 15 Aug 2003 09:08:29 -0000 1.22
+++ help2man 22 Jan 2004 08:10:02 -0000 1.23
@@ -546,7 +546,7 @@ unless ($opt_no_info)
$sect = _('SEE ALSO');
$include{$sect} ||= '';
$include{$sect} .= ".PP\n" if $include{$sect};
- $include{$sect} .= sprintf _(<<'EOT'), $program, $info_page, $info_page;
+ $include{$sect} .= sprintf _(<<'EOT'), $program, $program, $info_page;
The full documentation for
.B %s
is maintained as a Texinfo manual. If the
Index: Makefile.am
===================================================================
RCS file: /fetish/cu/man/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -u -r1.28 -r1.29
--- Makefile.am 6 Nov 2003 08:03:27 -0000 1.28
+++ Makefile.am 22 Jan 2004 08:09:38 -0000 1.29
@@ -129,7 +129,8 @@ mapped_name = `echo $*|sed 's/install/gi
@echo "Updating man page $@"; \
mkdir $t; \
(cd $t && $(LN_S) ../../src/$(mapped_name)$(EXEEXT) $*$(EXEEXT)); \
- $(HELP2MAN) \
+ $(srcdir)/help2man \
+ --info-page='$(PACKAGE) $*' \
--include=$(srcdir)/$*.x \
--output=$@ $t/$*$(EXEEXT)
@chmod a-w $@