[arch-dev-public] info pages

Eric Belanger belanger at ASTRO.UMontreal.CA
Fri Aug 8 19:43:03 EDT 2008


On Wed, 6 Aug 2008, Allan McRae wrote:

> Allan McRae wrote:
>> Hi all,
>> 
>> Just a heads up with something I have remembered while packaging with the 
>> new pacman release.  Including docs is the default in makepkg.conf now so 
>> if there is a large amount of documentation you will want to add a !docs to 
>> the PKGBUILD options.  Also, every package that needs the --mandir 
>> configure flag will probably need and --infodir one too.  An annoying 
>> number of packages with info pages install a /usr/share/info/dir file so 
>> that will need removed at the end of the PKGBUILD.
>> 
>
> I have discovered that at least one package has to have a /usr/share/info/dir 
> file or the info command complains that it is missing.   It seems that 
> ideally all packages with info directories should add/remove entries in this 
> file when installing/removing the package, although calling "info <something 
> not in dir file>" seems to work, but I might be missing something.... 
> The point is that adding info files properly involves an install file with 
> "install-info" commands for each info page in the package.  Isn't including 
> docs fun!
>
> Allan
>

The emacs package already does this. The emacs.install file could be used 
as a template for this info stuff.

Eric

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the arch-dev-public mailing list