summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-07 13:47:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-23 07:47:51 +0000
commitcabeb70e10b2bdb1d4c483195f5fa2ebe2da6d0a (patch)
tree1bf49e2bc2cee07e72caf1c3373d4ea551b81bce /abuild.in
parent72f5a04b7fd08db456822dd1465981042f2f3dd5 (diff)
downloadabuild-cabeb70e10b2bdb1d4c483195f5fa2ebe2da6d0a.tar.bz2
abuild-cabeb70e10b2bdb1d4c483195f5fa2ebe2da6d0a.tar.xz
abuild: compress man pages
Diffstat (limited to 'abuild.in')
-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)