Jason Chu <[EMAIL PROTECTED]> writes:

> Are any info files stored in /usr/share/doc?  If they aren't I wonder
> why you commented out that one.  Arch still won't include all the extra
> documentation.
>
>> :-)

The smiley is because on my system when I run makepkg I include the
docs, too.  There are normally no info files in /usr/doc or
/usr/share/doc.  So you'd have to remove the '#' before you commit
the patch to skip the 'docs'  :-)

>> But to do it right you need to add post_installs to the various
>> packages to add the entry into the info directory 'dir'.
>> 
>> Along the lines of:
>> 
>> # cd /usr/info
>> # install-info gcc.info dir
>
> Does install-info modify something locally on the system?  Or just
> modify the info files, like when you compress man pages...

Locally, yes.  There is one /usr/info/dir file which is the master
page for the info system.  install-info modifies it appropriately
based on the header of the info file being installed.  That way
when you start info by calling 'info' (instead of 'info gcc') you
get a categorized directory of all the info docs on your system.

You may want to add a link from /usr/share/info to /usr/info or
maybe add code to makepkg to move info files to /usr/info like
makepkg does with /usr/share/man/*  right below the patch I sent.
Otherwise an INFOPATH env var would be needed.

If you think it will actually be applied (I hope so), I can
post a clean patch for the whole thing including the move
from /usr/share/info to /usr/info.

-- 
KBK

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to