sci-mathematics/alt-ergo: fix BadInsIntoDir warning
authorTupone Alfredo <tupone@gentoo.org>
Thu, 12 Sep 2019 06:15:02 +0000 (08:15 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Thu, 12 Sep 2019 06:15:02 +0000 (08:15 +0200)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild
sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild

index 80b72760c86898c0dde2bec78612ac3c98aa1257..197ea8a7f2dd91a24097ca9351094485634ac1fc 100644 (file)
@@ -29,6 +29,5 @@ src_compile() {
 src_install() {
        default
        use gtk && emake DESTDIR="${D}" install-gui
-       insinto /usr/share/doc/${PF}
-       use examples && doins -r examples
+       use examples && dodoc -r examples
 }
index 321faff324c8aad256d2f5bb1404f74f99ff6b2a..e3bbcdb317f1829e0aa397b24ff936530ef8e2c7 100644 (file)
@@ -37,8 +37,7 @@ src_compile() {
 src_install() {
        default
        use gtk && emake DESTDIR="${D}" install-gui
-       insinto /usr/share/doc/${PF}
-       use examples && doins -r examples
+       use examples && dodoc -r examples
        mv "${D}"/usr/doc/* "${D}"/usr/share/doc/${PF}/ || die
        rmdir "${D}"/usr/doc || die
 }