Use the new fix_man function on Irix pr. default
It's controlled by the catman variable so it can be turned of if necessary
This commit is contained in:
parent
a1980fc242
commit
7bc6737b64
@ -9,6 +9,7 @@ GENDIST=/usr/sbin/gendist
|
|||||||
|
|
||||||
GZIP=/usr/people/tgc/bin/gzip
|
GZIP=/usr/people/tgc/bin/gzip
|
||||||
BZIP2=/usr/local/bin/bzip2
|
BZIP2=/usr/local/bin/bzip2
|
||||||
|
STRIP=/bin/true
|
||||||
|
|
||||||
# Configuration vars
|
# Configuration vars
|
||||||
imageconf=$buildpkgbase/scripts/image.conf
|
imageconf=$buildpkgbase/scripts/image.conf
|
||||||
@ -16,6 +17,9 @@ subsysconf=$buildpkgbase/scripts/subsys.conf
|
|||||||
idbfile=$metadir/$topdir.idb
|
idbfile=$metadir/$topdir.idb
|
||||||
specfile=$metadir/$topdir.spec
|
specfile=$metadir/$topdir.spec
|
||||||
|
|
||||||
|
# Preformat manpages since Irix is not likely to have nroff available
|
||||||
|
catman=1
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
# Comment these 4 declarations to get it to run with ksh
|
# Comment these 4 declarations to get it to run with ksh
|
||||||
declare -a pc # Array of product categories (image.subsys)
|
declare -a pc # Array of product categories (image.subsys)
|
||||||
@ -279,12 +283,20 @@ generic_pack()
|
|||||||
# Verify if $1 is defined
|
# Verify if $1 is defined
|
||||||
local arg1=${1-'x'}
|
local arg1=${1-'x'}
|
||||||
case $arg1 in
|
case $arg1 in
|
||||||
'x') setdir $stagedir$topinstalldir
|
'x') setdir $stagedir$topinstalldir/man
|
||||||
|
if [ $catman -eq 1 ]; then
|
||||||
|
fix_man
|
||||||
|
fi
|
||||||
|
setdir $stagedir$topinstalldir
|
||||||
create_idb
|
create_idb
|
||||||
create_spec
|
create_spec
|
||||||
make_dist
|
make_dist
|
||||||
;;
|
;;
|
||||||
'shortroot') setdir stage
|
'shortroot') setdir $stagedir/man
|
||||||
|
if [ $catman -eq 1 ]; then
|
||||||
|
fix_man
|
||||||
|
fi
|
||||||
|
setdir stage
|
||||||
create_idb
|
create_idb
|
||||||
create_spec
|
create_spec
|
||||||
make_dist shortroot
|
make_dist shortroot
|
||||||
@ -293,4 +305,3 @@ generic_pack()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user