Update manpage fix/compress logic to match Solaris

This commit is contained in:
Tom G. Christensen 2004-10-10 13:02:14 +00:00
parent 2bde37eb9c
commit e7bd263f8c

View File

@ -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