aboutsummaryrefslogtreecommitdiff
path: root/development/ola
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-16 17:29:17 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:27:24 +0700
commit9cfd6f1260c0604f2f5de747ffec489b4f36e7ed (patch)
tree65addb08ef80a27ded959ec04c3dce58f143ee88 /development/ola
parent48be8f0ccff4fe6d00fadea2f94638140012ee08 (diff)
development/ola: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/ola')
-rw-r--r--development/ola/ola.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/ola/ola.SlackBuild b/development/ola/ola.SlackBuild
index 251cf664a0d83..6535cd777d95e 100644
--- a/development/ola/ola.SlackBuild
+++ b/development/ola/ola.SlackBuild
@@ -78,6 +78,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
README INSTALL COPYING AUTHORS ChangeLog \