[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
man pages's creation broken
From: |
Thomas Schwinge |
Subject: |
man pages's creation broken |
Date: |
Thu, 24 Mar 2005 12:47:12 +0100 |
User-agent: |
Mutt/1.4.2.1i |
Hello!
Texinfo's build system's code for generating man pages (doc/Makefile.am)
is broken IMO.
Building from CVS sources I configured with '--enable-maintainer-mode'.
#v+
[...]
/bin/sh /var/tmp/build/texinfo/texinfo-4.8/missing --run help2man --name="read
Info documents" `basename info.1 .1` >info.1
help2man: can't get `--help' info from info
make[2]: *** [info.1] Error 1
make[2]: Leaving directory `/var/tmp/build/texinfo/texinfo-4.8/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/build/texinfo/texinfo-4.8'
make: *** [all] Error 2
#v-
I see two problems here:
* '`basename info.1 .1`' will evaluate to 'info' -- help2man will access
'info' searching through $PATH instead of using the newly compiled
one. The system I was building on did not have 'info' in $PATH, so
the build failed.
* 'info' is created as 'ginfo' (info/Makefile.am) whereas help2man is
instructed to access 'info'.
help2man should have been called with 'help2man [...] ../info/ginfo'.
(What about cross-compilations? ../info/ginfo might not be executable
on the building system, but that is a general problem of help2man I
suppose.)
Regards,
Thomas
- man pages's creation broken,
Thomas Schwinge <=