Update manpage fix/compress logic to match Solaris
This commit is contained in:
@@ -25,6 +25,9 @@ hidefile=$metadir/hide
|
|||||||
# Preformat manpages since Irix is not likely to have nroff available
|
# Preformat manpages since Irix is not likely to have nroff available
|
||||||
catman=1
|
catman=1
|
||||||
|
|
||||||
|
# Compress manpages
|
||||||
|
gzman=1
|
||||||
|
|
||||||
# strip?
|
# strip?
|
||||||
dostrip=1
|
dostrip=1
|
||||||
|
|
||||||
@@ -807,12 +810,14 @@ generic_pack()
|
|||||||
if [ $catman -eq 1 -a -d $stagedir/man ]; then
|
if [ $catman -eq 1 -a -d $stagedir/man ]; then
|
||||||
setdir $stagedir/man
|
setdir $stagedir/man
|
||||||
fix_man
|
fix_man
|
||||||
|
[ "$gzman" -eq 1 ] && compress_man
|
||||||
fi
|
fi
|
||||||
setdir stage
|
setdir stage
|
||||||
else
|
else
|
||||||
if [ $catman -eq 1 -a -d ${stagedir}${topinstalldir}${dir_prefix}/man ]; then
|
if [ $catman -eq 1 -a -d ${stagedir}${topinstalldir}${dir_prefix}/man ]; then
|
||||||
setdir ${stagedir}${topinstalldir}${dir_prefix}/man
|
setdir ${stagedir}${topinstalldir}${dir_prefix}/man
|
||||||
fix_man
|
fix_man
|
||||||
|
[ "$gzman" -eq 1 ] && compress_man
|
||||||
fi
|
fi
|
||||||
setdir $stagedir$topinstalldir
|
setdir $stagedir$topinstalldir
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user