summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--abuild.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 4213c6a..a4d37ac 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1233,6 +1233,11 @@ default_doc() {
fi
done
+ # compress man pages
+ find "$subpkgdir"/usr/share/man/*[1-9] \
+ -type f \! -name \*.gz \! -name \*.bz2 2>/dev/null |
+ xargs -r gzip -9
+
rm -f "$subpkgdir/usr/share/info/dir"
# remove if empty, ignore error (not empty)