app-doc/devmanual: Don't install /usr/share/doc/${PN} symlink.
authorUlrich Müller <ulm@gentoo.org>
Mon, 3 Feb 2020 20:44:51 +0000 (21:44 +0100)
committerUlrich Müller <ulm@gentoo.org>
Mon, 3 Feb 2020 20:46:20 +0000 (21:46 +0100)
This triggers an "unexpected path" QA warning.

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
app-doc/devmanual/devmanual-0_pre20200203.ebuild
app-doc/devmanual/devmanual-9999.ebuild

index 267f21183744ce3744e126584bf51cd404491841..05f7076fc8ecd988104b67d202cc8c1c176e93e4 100644 (file)
@@ -45,12 +45,9 @@ src_install() {
        local HTML_DOCS=( . )
        einstalldocs
 
-       einfo "Creating symlink from ${PF} to ${PN} for preserving bookmarks"
-       dosym ${PF} /usr/share/doc/${PN}
-
        local DOC_CONTENTS="In order to browse the Gentoo Development Guide in
                offline mode, point your browser to the following url:
-               file://${EPREFIX}/usr/share/doc/${PN}/html/index.html"
+               file://${EPREFIX}/usr/share/doc/${PF}/html/index.html"
        readme.gentoo_create_doc
 }
 
index 5c7bbf8ec0a4ae28916b2b65192c169c28c6ca95..1957ff9c99ef8d24e14cfdaa7afb75df022b1c4e 100644 (file)
@@ -45,12 +45,9 @@ src_install() {
        local HTML_DOCS=( . )
        einstalldocs
 
-       einfo "Creating symlink from ${PF} to ${PN} for preserving bookmarks"
-       dosym ${PF} /usr/share/doc/${PN}
-
        local DOC_CONTENTS="In order to browse the Gentoo Development Guide in
                offline mode, point your browser to the following url:
-               file://${EPREFIX}/usr/share/doc/${PN}/html/index.html"
+               file://${EPREFIX}/usr/share/doc/${PF}/html/index.html"
        readme.gentoo_create_doc
 }