man and info pages are now gzipped by default
This commit is contained in:
parent
ec433c78bd
commit
201a650b3d
1 changed files with 1 additions and 9 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue