Bug 105511 - pygtk should install docs to gtk-doc
Bug#: 105511 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: ed@catmur.co.uk
Component: GNOME
URL: 
Summary: pygtk should install docs to gtk-doc
Keywords:  
Status Whiteboard: 
Opened: 2005-09-10 11:22 0000
Description:   Opened: 2005-09-10 11:22 0000
Merging pygtk with USE="doc", it installs the docs to /usr/share/doc/$P/html.
As
they are gtk-doc docs, they should be installed to /usr/share/gtk-doc/html/$PN.
(This will ensure they show up in devhelp).

Use:
        if use doc; then
                cd ${S}/../pygtk2reference
                dodir /usr/share/gtk-doc/html/${PN}
                cp -pPR * ${D}/usr/share/gtk-doc/html/${PN}/
        fi

------- Comment #1 From Ed Catmur 2005-09-10 12:16:25 0000 -------
Sorry, forgot the directory name has to be same as devhelp file.
Should be:

    if use doc; then
        cd ${S}/../
        dodir /usr/share/gtk-doc/html
        cp -pPR pygtk2reference ${D}/usr/share/gtk-doc/html/
    fi

------- Comment #2 From John N. Laliberte (RETIRED) 2005-09-11 17:59:50 0000 -------
in CVS with 2.8.0, thanks!