bug-texinfo
[Top][All Lists]
Advanced

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

[texinfo-1.12] missing PATH=$(util_srcdir) in doc/Makefile.am


From: Michael Haubenwallner
Subject: [texinfo-1.12] missing PATH=$(util_srcdir) in doc/Makefile.am
Date: Tue, 01 Jul 2008 14:33:18 +0200

Hi,

there's a minor bug in texinfo (1.12)/doc/Makefile.am in both the
commands for "texi2pdf.1" and "pdftexi2dvi.1".

*) help2man calls >$(util_srcdir)/texi2pdf --help< to get the input for
the manpage to be created.

*) texi2pdf calls >texi2dvi --pdf ${1+"$@"}<, using PATH to find it.

*) When there is some sufficient texi2dvi in PATH, there's no error at
all, but texi2dvi.1 contains the help-output of the already installed
texi2dvi, not the local one from $(util_srcdir).

*) If there is no texi2dvi available in PATH, help2man bails out with
"can't get `--help' info from ../util/texi2pdf" for >texi2pdf.1<, while
it works for >texi2dvi.1<.

Why I encounter this bug: I've slightly modified util/texi2dvi and
util/texi2pdf (use "/usr/bin/env bash" instead of "/bin/sh"), so their
manpages want to be recreated because of newer modification timestamps.

Attached is a proposed patch to have $(util_srcdir) in PATH while
creating doc/texi2pdf.1 and doc/pdftexi2dvi.1.

This is the output of make:

unset TEXI2DVI_BUILD_MODE; unset TEXI2DVI_BUILD_DIRECTORY; 
/tools/snapshot/prefix-launcher-1pre.20080617/powerpc-ibm-aix5.3.0.0/bin/bash 
/mnt/toolsjunk/haubi/gentoo/sauxz3-trunk/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12/build-aux/missing
 --run help2man --name="convert Texinfo documents to DVI" ../util/texi2dvi 
>texi2dvi.1
unset TEXI2DVI_BUILD_MODE; unset TEXI2DVI_BUILD_DIRECTORY; 
/tools/snapshot/prefix-launcher-1pre.20080617/powerpc-ibm-aix5.3.0.0/bin/bash 
/mnt/toolsjunk/haubi/gentoo/sauxz3-trunk/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12/build-aux/missing
 --run help2man --name="convert Texinfo documents to PDF" ../util/texi2pdf 
>texi2pdf.1
help2man: can't get `--help' info from ../util/texi2pdf
make[2]: *** [texi2pdf.1] Error 1
make[2]: Leaving directory 
`/mnt/toolsjunk/haubi/gentoo/sauxz3-trunk/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/mnt/toolsjunk/haubi/gentoo/sauxz3-trunk/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12'
make: *** [all] Error 2

Thank you!

/haubi/

Attachment: texinfo-doc.patch
Description: Text Data


reply via email to

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