Am Dienstag, den 21.10.2008, 23:47 +0200 schrieb David Teller:
> Hi everyone,
> 
>  I'm currently working on adding the possibility of browsing the
> documentation of packages from the toplevel. To do this, I need to be
> able to find out exactly where that documentation has been installed. Is
> there an API I could use for that purpose (preferably something which
> wouldn't bind me too tightly to GODI as I'd like to extend this to work
> with Debian and Fedora at some point)?

There is no API. In GODI we install documentation in the <prefix>/doc
tree, usually <prefix>/doc/<packagename>, but this is not strictly
enforced, and there are some packages with deviating locations.

I know that Debian prefers /usr/share/doc/<packagename>. Don't know for
Fedora.

In GODI you can list the files of a package with 

 - godi_info -L packagename
   on older GODI's
 - godi_info -file-list packagename
   on newer GODI's

You could look there for the "doc" directory. I don't know anything
better.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
[EMAIL PROTECTED]          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------


_______________________________________________
Godi-list mailing list
[email protected]
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to