diff options
author | Sam James <sam@gentoo.org> | 2024-01-23 05:46:54 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-23 05:58:13 +0000 |
commit | 518f49f7400f3b68f7a4a87cf11273fa89daade1 (patch) | |
tree | 585b7eba84c3b47f6b37e8277d6cbbefb6ec53ea /eclass | |
parent | dev-util/lttng-ust: bump to 2.12.9 (diff) | |
download | gentoo-518f49f7400f3b68f7a4a87cf11273fa89daade1.tar.gz gentoo-518f49f7400f3b68f7a4a87cf11273fa89daade1.tar.bz2 gentoo-518f49f7400f3b68f7a4a87cf11273fa89daade1.zip |
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
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 |