summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-23 05:56:49 +0000
committerSam James <sam@gentoo.org>2024-01-23 05:58:14 +0000
commite9f296dbe8aea53425b4bd9a5725f1ffb91d4758 (patch)
treebecb443291008bee445fbfb45808665720d1a66d /sys-devel/binutils
parenttoolchain-autoconf.eclass: compress slotted info pages (diff)
downloadgentoo-e9f296dbe8aea53425b4bd9a5725f1ffb91d4758.tar.gz
gentoo-e9f296dbe8aea53425b4bd9a5725f1ffb91d4758.tar.bz2
gentoo-e9f296dbe8aea53425b4bd9a5725f1ffb91d4758.zip
sys-devel/binutils: compress slotted man & 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 & info pages we install. Bug: https://bugs.gentoo.org/922729 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r--sys-devel/binutils/binutils-2.41-r4.ebuild2
-rw-r--r--sys-devel/binutils/binutils-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/binutils/binutils-2.41-r4.ebuild b/sys-devel/binutils/binutils-2.41-r4.ebuild
index 08d7d906dfbb..44554f947d87 100644
--- a/sys-devel/binutils/binutils-2.41-r4.ebuild
+++ b/sys-devel/binutils/binutils-2.41-r4.ebuild
@@ -467,6 +467,8 @@ src_install() {
# Remove shared info pages
rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info}
+ docompress "${DATAPATH}"/{info,man}
+
# Trim all empty dirs
find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null
}
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
index 393acc75d9d3..5f745bd13e6a 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -467,6 +467,8 @@ src_install() {
# Remove shared info pages
rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info}
+ docompress "${DATAPATH}"/{info,man}
+
# Trim all empty dirs
find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null
}