commit: 518f49f7400f3b68f7a4a87cf11273fa89daade1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 23 05:46:54 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jan 23 05:58:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518f49f7
toolchain.eclass: compress slotted man pages & 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 man pages & info pages we install. Bug: https://bugs.gentoo.org/922729 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index d56b369a0cbb..a6925fa1c8b7 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1975,6 +1975,8 @@ toolchain_src_install() { rm "${D}${DATAPATH}"/info/dir || die fi + docompress "${DATAPATH}"/{info,man} + # Prune empty dirs left behind find "${ED}" -depth -type d -delete 2>/dev/null
