mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
development/monotone: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
c4c53ac262
commit
48be8f0ccf
1 changed files with 3 additions and 0 deletions
|
@ -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/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue