gnustep-base/gnustep-make: fix documentation installation, bug #585796
authorBernard Cafarelli <voyageur@gentoo.org>
Sat, 14 Jan 2017 22:17:24 +0000 (23:17 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Sat, 14 Jan 2017 22:17:43 +0000 (23:17 +0100)
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

index 0c14906ff59cc147e1289eb62b2f3102e1ca3ccb..9cacbd62ad4cc557c0aaae148e89f864be9004be 100644 (file)
@@ -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