commit:     9aa5370643f92645e3f62b59a3d284f9a62a565f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 05:56:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 05:58:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aa53706

toolchain-autoconf.eclass: compress slotted info pages

As noted in the bug, we install to a different location to accommodate slotting
and hence do not benefit from the automagic compression for /usr/share/doc.

Explicitly opt-in for the info pages we install.

Bug: https://bugs.gentoo.org/922729
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain-autoconf.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/toolchain-autoconf.eclass b/eclass/toolchain-autoconf.eclass
index 1eaf681496d4..330ec45dd7d1 100644
--- a/eclass/toolchain-autoconf.eclass
+++ b/eclass/toolchain-autoconf.eclass
@@ -115,6 +115,8 @@ toolchain-autoconf_src_install() {
                        ln -s "$f" "${f/./-${PV}.}" || die
                done
                popd >/dev/null || die
+
+               docompress "${TC_AUTOCONF_INFOPATH}"
        fi
 }
 

Reply via email to