dev-python/pythong: Use dodoc
authorMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 17:10:00 +0000 (18:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 17:10:00 +0000 (18:10 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/pythong/pythong-2.1.5-r3.ebuild

index a466b85801dab0df0645c79cc944db9105e3e9f6..3e649b8f4557cf17f601998f0366d1d49c43322f 100644 (file)
@@ -45,13 +45,11 @@ src_install() {
        python_doscript pythong.py
 
        dodoc leeme.txt
-       insinto /usr/share/doc/${PF}
-       doins -r {LICENCIA,MANUAL,demos}
+       dodoc -r {LICENCIA,MANUAL,demos}
        rm -fr "${ED}/usr/share/doc/${PF}/demos/modulepythong.py" || die
 
        if use doc; then
-               insinto /usr/share/doc/${PF}
-               doins "${DISTDIR}"/python.pdf
+               dodoc "${DISTDIR}"/python.pdf
        fi
        python_optimize
 }