dev-tex/sketch: Fix doc QA warnings
authorAaron Bauman <bman@gentoo.org>
Sat, 9 Nov 2019 22:12:14 +0000 (17:12 -0500)
committerAaron Bauman <bman@gentoo.org>
Sat, 9 Nov 2019 22:12:37 +0000 (17:12 -0500)
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-tex/sketch/sketch-0.3.7.ebuild

index 2e24cc537c147a81a1a26df125cc2f286fed66bd..ac587f8b176bff726a09b03349e364e69e9540dd 100644 (file)
@@ -31,16 +31,12 @@ src_install() {
        dobin sketch
        edos2unix Doc/sketch.info
        doinfo Doc/sketch.info
-       dodoc -r updates.htm
+       dodoc updates.htm
 
-       if use doc ; then
-               insinto /usr/share/doc/${PF}
-               doins Doc/sketch.pdf
-               dodoc -r Doc/sketch/*
-       fi
+       use doc && dodoc -r Doc/*
 
-       if use examples ; then
-               insinto /usr/share/doc/${PF}/examples
-               doins Data/*
+       if use examples; then
+               docinto examples
+               dodoc -r Data/*
        fi
 }