dev-games/physfs: Fix build with USE=doc
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 12 May 2019 22:39:16 +0000 (00:39 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 13 May 2019 00:17:44 +0000 (02:17 +0200)
Closes: https://bugs.gentoo.org/682080
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-games/physfs/physfs-3.0.2.ebuild
dev-games/physfs/physfs-9999.ebuild

index 683b49ac714dd41c1ea4d2ab1a8180b2f039fc51..0880049c9f1cfca149554004f069eb817147af00 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit cmake-multilib
 
 DESCRIPTION="Abstraction layer for filesystem and archive access"
@@ -47,10 +48,7 @@ multilib_src_compile() {
        multilib_is_native_abi && use doc && cmake-utils_src_compile docs
 }
 
-multilib_src_install_all() {
-       einstalldocs
-       if use doc ; then
-               docinto html
-               dodoc -r "${CMAKE_BUILD_DIR}"/docs/html/*
-       fi
+multilib_src_install() {
+       multilib_is_native_abi && use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+       cmake-utils_src_install
 }
index 683b49ac714dd41c1ea4d2ab1a8180b2f039fc51..0880049c9f1cfca149554004f069eb817147af00 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit cmake-multilib
 
 DESCRIPTION="Abstraction layer for filesystem and archive access"
@@ -47,10 +48,7 @@ multilib_src_compile() {
        multilib_is_native_abi && use doc && cmake-utils_src_compile docs
 }
 
-multilib_src_install_all() {
-       einstalldocs
-       if use doc ; then
-               docinto html
-               dodoc -r "${CMAKE_BUILD_DIR}"/docs/html/*
-       fi
+multilib_src_install() {
+       multilib_is_native_abi && use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+       cmake-utils_src_install
 }