commit:     3b60b455a60115d9226cb66b4b383ff057c8a023
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 22:17:24 2017 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 22:17:43 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b60b455

gnustep-base/gnustep-make: fix documentation installation, bug #585796

Thanks to Stefan Kalis and Andrius Štikonas for the report and updates

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild 
b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild
index 0c14906..9cacbd6 100644
--- a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild
+++ b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild
@@ -96,13 +96,8 @@ src_configure() {
 
 src_compile() {
        emake
-       # Prepare doc here (needed when no gnustep-make is already installed)
        if use doc ; then
-               # If a gnustep-1 environment is set
-               unset GNUSTEP_MAKEFILES
-               pushd Documentation &> /dev/null
-               emake -j1 all install
-               popd &> /dev/null
+               emake -C Documentation
        fi
 }
 
@@ -118,9 +113,7 @@ src_install() {
 
        # Copy the documentation
        if use doc ; then
-               dodir ${GNUSTEP_SYSTEM_DOC}
-               cp -r 
Documentation/tmp-installation/System/Library/Documentation/* \
-                       "${ED}"${GNUSTEP_SYSTEM_DOC=}
+               emake -C Documentation ${make_eval} DESTDIR="${D}" install
        fi
 
        dodoc FAQ README RELEASENOTES

Reply via email to