x11-libs/fltk: fix BadInsIntoDir QA issue
authorAaron Bauman <bman@gentoo.org>
Sat, 23 Nov 2019 02:08:31 +0000 (21:08 -0500)
committerAaron Bauman <bman@gentoo.org>
Sat, 23 Nov 2019 02:08:31 +0000 (21:08 -0500)
Signed-off-by: Aaron Bauman <bman@gentoo.org>
x11-libs/fltk/fltk-1.3.3-r3.ebuild
x11-libs/fltk/fltk-1.3.4.ebuild
x11-libs/fltk/fltk-1.3.5-r4.ebuild
x11-libs/fltk/fltk-1.3.9999.ebuild
x11-libs/fltk/fltk-1.4.9999.ebuild

index 74e6007fed11a8c3f23234023375eab47e1daf4d..01db48d25b2cca8935b4b1cb78a80efcedfc5053 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
+
 inherit autotools eutils fdo-mime flag-o-matic
 
 DESCRIPTION="C++ user interface toolkit for X and OpenGL"
@@ -112,6 +113,7 @@ src_install() {
 
        emake -C fluid \
                        DESTDIR="${D}" install-linux
+
        if use doc; then
                emake -C documentation \
                        DESTDIR="${D}" install
@@ -134,8 +136,8 @@ src_install() {
        dodoc CHANGES README CREDITS ANNOUNCEMENT
 
        if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins test/*.{h,cxx,fl} test/demo.menu
+               docinto examples
+               dodoc -r test/*.{h,cxx,fl} test/demo.menu
        fi
 
        insinto /usr/share/cmake/Modules
index b1dbc2b941e38e85c60679511070f552dc0a8528..a390fa4097e4b53171f64e85b5415411a4f2c844 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 inherit autotools fdo-mime flag-o-matic multilib-minimal
 
 DESCRIPTION="C++ user interface toolkit for X and OpenGL"
@@ -157,8 +158,8 @@ multilib_src_install_all() {
        done
 
        if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins test/*.{h,cxx,fl} test/demo.menu
+               docinto examples
+               dodoc -r test/*.{h,cxx,fl} test/demo.menu
        fi
 
        insinto /usr/share/cmake/Modules
index 7af2106929bc10faec2a956a8eeab6b97d19119d..30f91c3198fd23d678ffb0c83c2e50473fea5fe5 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools flag-o-matic xdg-utils multilib-minimal
 
 DESCRIPTION="C++ user interface toolkit for X and OpenGL"
@@ -162,8 +163,8 @@ multilib_src_install_all() {
        done
 
        if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins test/*.{h,cxx,fl} test/demo.menu
+               docinto examples
+               dodoc -r test/*.{h,cxx,fl} test/demo.menu
        fi
 
        insinto /usr/share/cmake/Modules
index f8b095c4b45d678780559b0fe3c5ca9fed41b574..de2c6eb095ecce8719c73544dc9fc4b0a83d02ed 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools flag-o-matic git-r3 xdg-utils multilib-minimal
 
 DESCRIPTION="C++ user interface toolkit for X and OpenGL"
@@ -170,8 +171,8 @@ multilib_src_install_all() {
        done
 
        if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins test/*.{h,cxx,fl} test/demo.menu
+               docinto examples
+               dodoc -r test/*.{h,cxx,fl} test/demo.menu
        fi
 
        insinto /usr/share/cmake/Modules
index 7940dc7b3efe4eb5c8b329fe443ba70ce9988e42..4ab26198da79893fd3c08abcbee50624fe66be46 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools flag-o-matic git-r3 xdg-utils multilib-minimal
 
 DESCRIPTION="C++ user interface toolkit for X and OpenGL"
@@ -174,8 +175,8 @@ multilib_src_install_all() {
        done
 
        if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins test/*.{h,cxx,fl} test/demo.menu
+               docinto examples
+               dodoc -r test/*.{h,cxx,fl} test/demo.menu
        fi
 
        insinto /usr/share/cmake/Modules