Randy McMurchy wrote:
go moko wrote these words on 01/05/06 16:17 CST:

In the installation of JDK 1.5.0_05 (not precompiled
version, but the hand made), there's some man pages
which are present under
control/build/linux-i?86/j2sdk-image/man/man1, and
which are copied into /opt/jdk/...
Can't we add a command to copy it in the right place
for man pages, such as:
cp -v j2sdk-image/man/man1/* /usr/share/man/man1


You can do whatever you wish. :-)

Nothing keeps you from setting up *your* system the way *you* like
it. However, for packages that are self-enclosed in a subdir of
/opt, I don't think that /usr/share/man/man1 is "the right place".

What typically is in the instructions (however, I notice it is
absent in the JDK instructions, but it is in my build script) is
you just adjust your MANPATH environment variable or tweak
/etc/man.conf.

This should probably be put in bugzilla so it is not forgotten.


No actually, this was brought up a few months ago, and the broken command (that seemed to still work) was removed, because of a pretty cool little feature with the new man package. Check this comment in man.conf:

# Set up PATH to MANPATH mapping
#
# If people ask for "man foo" and have "/dir/bin/foo" in their PATH
# and the docs are found in "/dir/man", then no mapping is required.

With the new behavior, well not so new anymore, I'd guess that there is no need to do anything with most packages that are installed in their own prefix if the bin dir is put into the PATH variable.

-- DJ Lucas
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to