man and info pages are now gzipped by default

This commit is contained in:
Gwenhael Le Moine 2010-07-27 10:58:30 +07:00
parent ec433c78bd
commit 201a650b3d

View file

@ -173,15 +173,7 @@ mv $PKG/usr/man/man1/ctags.1 $PKG/usr/man/man1/ctags-emacs.1
find $PKG | xargs file | grep -e "executable" -e "shared object" \ find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
( cd $PKG/usr/man rm $PKG/usr/info/dir*
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
( cd $PKG/usr/info
rm -f dir
gzip -9 *
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \