net-analyzer/wireshark: Replace dohtml in live ebuild.
authorJeroen Roovers <jer@gentoo.org>
Tue, 24 Jan 2017 06:48:47 +0000 (07:48 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 24 Jan 2017 06:48:47 +0000 (07:48 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-analyzer/wireshark/wireshark-99999999.ebuild

index bab62ead27a03af7ecfe429c3eda177034d76c32..5471dbcdc71de4e43066362f9c8e35ac5b4d95db 100644 (file)
@@ -192,18 +192,19 @@ src_compile() {
 src_install() {
        default
 
+       # FAQ is not required as is installed from help/faq.txt
+       dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} \
+               doc/{randpkt.txt,README*}
+
        if use doc; then
-               dohtml -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}}
+               docinto /usr/share/doc/${PF}/html
+               dodoc -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}}
                if use doc-pdf; then
-                       insinto /usr/share/doc/${PF}/pdf/
-                       doins docbook/{developer,user}-guide-{a4,us}.pdf docbook/release-notes.pdf
+                       docinto /usr/share/doc/${PF}/pdf/
+                       dodoc docbook/{developer,user}-guide-{a4,us}.pdf docbook/release-notes.pdf
                fi
        fi
 
-       # FAQ is not required as is installed from help/faq.txt
-       dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} \
-               doc/{randpkt.txt,README*}
-
        # install headers
        local wsheader
        for wsheader in \