aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-16 17:28:30 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:27:24 +0700
commit48be8f0ccff4fe6d00fadea2f94638140012ee08 (patch)
treedff75ee8506afe16640e1ca7b3bd91046527c71b /development
parentc4c53ac26232fdf9680e8ed28415cdb6a84a2d81 (diff)
development/monotone: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/monotone/monotone.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/monotone/monotone.SlackBuild b/development/monotone/monotone.SlackBuild
index 29c2bf24309ff..2216aa283afd4 100644
--- a/development/monotone/monotone.SlackBuild
+++ b/development/monotone/monotone.SlackBuild
@@ -93,6 +93,9 @@ make install htmldir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*