#!/sbin/sh

########
# Product:  GraphicsPEX5DK
# Fileset:  PEX5-HELP
# postinstall
#
# $Source: /hmstmp/update.22059/./release/SD/GraphicsPEX5v2/PEX5-HELP/postinstall,v $
# $Revision: 550.2 $
# $Date: 96/07/16 12:22:32 $
#
########
#
# (c) Copyright Hewlett-Packard Company 1994
#
########

	set -a       					# export all vars
	exitval=0					# anticipate success

	UTILS="/usr/lbin/sw/control_utils"
	if [[ ! -f $UTILS ]]
	then
		echo "ERROR:    Cannot find UTILS"
		exit 1
	fi
	. $UTILS

#set -x # For debugging purposes.  _Never_ ship uncommented!!


	##
	##  Set up local environment variables
	##

	SW_INSTALL_DIR="/"

	##
	## Test to see if either SW_ROOT_DIRECTORY or SW_LOCATION is
	## set to something other than /.  If so, set up SW_INSTALL_DIR
	## so it will not have spurious /'s in the path name.
	##
	
	if [ $SW_ROOT_DIRECTORY != / -o $SW_LOCATION != / ]
	then
		if [ $SW_ROOT_DIRECTORY != / ]
		then
			if [ $SW_LOCATION != / ]
			then
				SW_INSTALL_DIR="${SW_ROOT_DIRECTORY}${SW_LOCATION}"
			else
				SW_INSTALL_DIR="${SW_ROOT_DIRECTORY}"
			fi
		else
			if [ $SW_LOCATION != / ]
			then
				SW_INSTALL_DIR="${SW_LOCATION}"
			fi
		fi
	fi

################################################################################

#Set up the PEX5_MAN_DIR to "/opt/graphics/PEX5/share/man/man3" 

PEX5_DIR="${SW_INSTALL_DIR}"
PEX5_MAN_DIR="${PEX5_DIR}share/man/man3"

        ##
        ##  Function to create a symbolic link and add the name
        ##  to the IPD for this Product/Fileset.
        ##

link_and_add_IPD ()
        {
                LINK_TARGET=$1
                LINK_NAME=$2
                if [ -h $LINK_NAME ]
                then
                        rm -f $LINK_NAME > /dev/null 2>&1
                fi
                ln $LINK_TARGET $LINK_NAME > /dev/null 2>&1

                ##
                ## Do not try to add the sym_link to the IPD unless
                ## the target exists.
                ##

                #if [ -f $LINK_TARGET ]
                #then
                #        IPD_addfile $LINK_NAME
                #fi
        }

## Place path to top of man page directories into /etc/MANPATH
## if not already present.
##
PEX_MAN_PATH="${PEX5_DIR}share/man"
ETC_MANPATH="${SW_ROOT_DIRECTORY}etc/MANPATH"

if [ -f ${ETC_MANPATH} ]
then

        fgrep "${PEX_MAN_PATH}" ${ETC_MANPATH} > /dev/null 2>&1
        FOUND_IT="$?"

        if [ ${FOUND_IT} != "0" ]
        then
                ##
                ## Need to put it into /etc/MANPATH
                ##
                TMP_MANPATH="`awk '{ print }' ${ETC_MANPATH}`"
                TMP_MANPATH="${TMP_MANPATH}:${PEX_MAN_PATH}"
                echo "${TMP_MANPATH}" > ${ETC_MANPATH}
        fi
fi

 
# Link old pex man commands to pex.3g.  A message to the screen is 
# sent to use pexman and the correct MANPATH

HARD_LINK_TARGET="pex.3g" 

# List of files to link PEX5 man pages to pex.3g 

PEX5_LIST="PEXAccumulateState.3g \
PEXAddToNameSet.3g \
PEXAnnotationText.3g \
PEXAnnotationText2D.3g \
PEXApplicationData.3g \
PEXBeginPickAll.3g \
PEXBeginPickOne.3g \
PEXBeginRendering.3g \
PEXBeginStructure.3g \
PEXBuildTransform.3g \
PEXBuildTransform2D.3g \
PEXCellArray.3g \
PEXCellArray2D.3g \
PEXChangeNameSet.3g \
PEXChangeOCC.3g \
PEXChangePipelineContext.3g \
PEXChangeRenderer.3g \
PEXChangeSearchContext.3g \
PEXChangeStructureRefs.3g \
PEXCopyBytesToOC.3g \
PEXCopyElements.3g \
PEXCopyLookupTable.3g \
PEXCopyNameSet.3g \
PEXCopyOCCValues.3g \
PEXCopyPipelineContext.3g \
PEXCopyPixmapToZBuffer.3g \
PEXCopySearchContext.3g \
PEXCopyStructure.3g \
PEXCopyZBufferToPixmap.3g \
PEXCountOCs.3g \
PEXCreateLookupTable.3g \
PEXCreateNameSet.3g \
PEXCreateOCC.3g \
PEXCreatePipelineContext.3g \
PEXCreateRenderer.3g \
PEXCreateSearchContext.3g \
PEXCreateStructure.3g \
PEXDecodeOCs.3g \
PEXDeleteBetweenLabels.3g \
PEXDeleteElements.3g \
PEXDeleteTableEntries.3g \
PEXDeleteToLabel.3g \
PEXDestroyStructures.3g \
PEXElementSearch.3g \
PEXEncodeOCs.3g \
PEXEncodedAnnoText.3g \
PEXEncodedAnnoText2D.3g \
PEXEncodedText.3g \
PEXEncodedText2D.3g \
PEXEndPickAll.3g \
PEXEndPickOne.3g \
PEXEndRendering.3g \
PEXEndStructure.3g \
PEXEscape.3g \
PEXEscapeWithReply.3g \
PEXExecuteStructure.3g \
PEXExtChangePipelineContext.3g \
PEXExtChangeRenderer.3g \
PEXExtCircle2D.3g \
PEXExtCircularArc2D.3g \
PEXExtCountOCs.3g \
PEXExtCreateFilteredTM.3g \
PEXExtCreateFilteredTMFromWindow.3g \
PEXExtCreateTM.3g \
PEXExtCreateTMDescription.3g \
PEXExtDecodeOCs.3g \
PEXExtEllipse.3g \
PEXExtEllipse2D.3g \
PEXExtEllipticalArc.3g \
PEXExtEllipticalArc2D.3g \
PEXExtEncodeOCs.3g \
PEXExtFetchElements.3g \
PEXExtFetchElementsAndSend.3g \
PEXExtFillAreaSetWithData.3g \
PEXExtFreeFilteredTM.3g \
PEXExtFreeOCData.3g \
PEXExtFreePCAttributes.3g \
PEXExtFreeRendererAttributes.3g \
PEXExtFreeTM.3g \
PEXExtFreeTMDescription.3g \
PEXExtFreeTableEntries.3g \
PEXExtGetPipelineContext.3g \
PEXExtGetRendererAttributes.3g \
PEXExtGetSizeOCs.3g \
PEXExtGetTableEntries.3g \
PEXExtGetTableEntry.3g \
PEXExtQuadrilateralMesh.3g \
PEXExtQueryColorApprox.3g \
PEXExtSetActiveTextures.3g \
PEXExtSetBFActiveTextures.3g \
PEXExtSetLineCapStyle.3g \
PEXExtSetLineJoinStyle.3g \
PEXExtSetOfFillAreaSets.3g \
PEXExtSetPCAttributeMask.3g \
PEXExtSetPCAttributeMaskAll.3g \
PEXExtSetPrimitiveAA.3g \
PEXExtSetRendererAttributeMask.3g \
PEXExtSetRendererAttributeMaskAll.3g \
PEXExtSetTMPerspectiveCorrection.3g \
PEXExtSetTMResourceHints.3g \
PEXExtSetTMSampleFrequency.3g \
PEXExtSetTableEntries.3g \
PEXExtTMCoordFillAreaSetWithData.3g \
PEXExtTMCoordQuadrilateralMesh.3g \
PEXExtTMCoordSetOfFillAreaSets.3g \
PEXExtTMCoordTriangleStrip.3g \
PEXExtTriangleStrip.3g \
PEXExtendedCellArray.3g \
PEXFetchElements.3g \
PEXFetchElementsAndSend.3g \
PEXFillArea.3g \
PEXFillArea2D.3g \
PEXFillAreaSet.3g \
PEXFillAreaSet2D.3g \
PEXFillAreaSetWithData.3g \
PEXFillAreaWithData.3g \
PEXFinishOCs.3g \
PEXFreeEnumInfo.3g \
PEXFreeFontInfo.3g \
PEXFreeFontNames.3g \
PEXFreeLookupTable.3g \
PEXFreeNameSet.3g \
PEXFreeOCC.3g \
PEXFreeOCData.3g \
PEXFreePCAttributes.3g \
PEXFreePickPaths.3g \
PEXFreePipelineContext.3g \
PEXFreeRenderer.3g \
PEXFreeRendererAttributes.3g \
PEXFreeSCAttributes.3g \
PEXFreeSearchContext.3g \
PEXFreeStructurePaths.3g \
PEXFreeTableEntries.3g \
PEXGDP.3g \
PEXGDP2D.3g \
PEXGSE.3g \
PEXGeoNormFillArea.3g \
PEXGeoNormFillAreaSet.3g \
PEXGeoNormQuadrilateralMesh.3g \
PEXGeoNormSetOfFillAreaSets.3g \
PEXGeoNormTriangleStrip.3g \
PEXGetAncestors.3g \
PEXGetDefinedIndices.3g \
PEXGetDescendants.3g \
PEXGetElementInfo.3g \
PEXGetEnumTypeInfo.3g \
PEXGetExtensionInfo.3g \
PEXGetImpDepConstants.3g \
PEXGetNameSet.3g \
PEXGetOCAddr.3g \
PEXGetOCAddrMaxSize.3g \
PEXGetOCCValues.3g \
PEXGetPipelineContext.3g \
PEXGetPredefinedEntries.3g \
PEXGetProtocolFloatFormat.3g \
PEXGetRendererAttributes.3g \
PEXGetRendererDynamics.3g \
PEXGetSearchContext.3g \
PEXGetSizeOCs.3g \
PEXGetStructureInfo.3g \
PEXGetStructuresInNetwork.3g \
PEXGetTableEntries.3g \
PEXGetTableEntry.3g \
PEXGetTableInfo.3g \
PEXGetZBuffer.3g \
PEXHPChangePipelineContext.3g \
PEXHPChangeRenderer.3g \
PEXHPFreePCAttributes.3g \
PEXHPFreeRendererAttributes.3g \
PEXHPGetPipelineContext.3g \
PEXHPGetRendererAttributes.3g \
PEXHPMarkersWithData.3g \
PEXHPPolylineSetWithData.3g \
PEXHPSetAlphaBlendFunction.3g \
PEXHPSetCappingPlanes.3g \
PEXHPSetDeformationMode.3g \
PEXHPSetDeformationValueLocation.3g \
PEXIdentityMatrix.3g \
PEXIdentityMatrix2D.3g \
PEXInitialize.3g \
PEXInvertMatrix.3g \
PEXInvertMatrix2D.3g \
PEXLabel.3g \
PEXListFonts.3g \
PEXListFontsWithInfo.3g \
PEXLoadFont.3g \
PEXLookAtViewMatrix.3g \
PEXMapXCToNPC.3g \
PEXMapXCToNPC2D.3g \
PEXMarkers.3g \
PEXMarkers2D.3g \
PEXMatchRenderingTargets.3g \
PEXMatrixMult.3g \
PEXMatrixMult2D.3g \
PEXNPCToXCTransform.3g \
PEXNPCToXCTransform2D.3g \
PEXNURBCurve.3g \
PEXNURBSurface.3g \
PEXNoop.3g \
PEXNormalizeVectors.3g \
PEXNormalizeVectors2D.3g \
PEXOCCAddToNameSet.3g \
PEXOCCAnnotationText.3g \
PEXOCCAnnotationText2D.3g \
PEXOCCApplicationData.3g \
PEXOCCCellArray.3g \
PEXOCCCellArray2D.3g \
PEXOCCEncodedAnnoText.3g \
PEXOCCEncodedAnnoText2D.3g \
PEXOCCEncodedText.3g \
PEXOCCEncodedText2D.3g \
PEXOCCExecuteStructure.3g \
PEXOCCExtSetActiveTextures.3g \
PEXOCCExtSetBFActiveTextures.3g \
PEXOCCExtSetLineCapStyle.3g \
PEXOCCExtSetLineJoinStyle.3g \
PEXOCCExtSetPrimitiveAA.3g \
PEXOCCExtSetTMPerspectiveCorrection.3g \
PEXOCCExtSetTMResourceHints.3g \
PEXOCCExtSetTMSampleFrequency.3g \
PEXOCCExtendedCellArray.3g \
PEXOCCFillArea.3g \
PEXOCCFillAreaSet.3g \
PEXOCCGDP.3g \
PEXOCCGSE.3g \
PEXOCCHPSetAlphaBlendFunction.3g \
PEXOCCHPSetCappingPlanes.3g \
PEXOCCHPSetDeformationMode.3g \
PEXOCCHPSetDeformationValueLocation.3g \
PEXOCCIndexedFillAreaSets.3g \
PEXOCCLabel.3g \
PEXOCCMarkers.3g \
PEXOCCNoop.3g \
PEXOCCPolyline.3g \
PEXOCCPolylines.3g \
PEXOCCQuadrilateralMesh.3g \
PEXOCCRemoveFromNameSet.3g \
PEXOCCRestoreModelClipVolume.3g \
PEXOCCSetATextAlignment.3g \
PEXOCCSetATextHeight.3g \
PEXOCCSetATextPath.3g \
PEXOCCSetATextStyle.3g \
PEXOCCSetATextUpVector.3g \
PEXOCCSetBFInteriorStyle.3g \
PEXOCCSetBFInteriorStyleIndex.3g \
PEXOCCSetBFReflectionAttributes.3g \
PEXOCCSetBFReflectionModel.3g \
PEXOCCSetBFSurfaceColor.3g \
PEXOCCSetBFSurfaceColorIndex.3g \
PEXOCCSetBFSurfaceInterpMethod.3g \
PEXOCCSetCharExpansion.3g \
PEXOCCSetCharHeight.3g \
PEXOCCSetCharSpacing.3g \
PEXOCCSetCharUpVector.3g \
PEXOCCSetColorApproxIndex.3g \
PEXOCCSetCurveApprox.3g \
PEXOCCSetDepthCueIndex.3g \
PEXOCCSetDrawingFunction.3g \
PEXOCCSetEdgeBundleIndex.3g \
PEXOCCSetFacetCullingMode.3g \
PEXOCCSetFacetDistinguishFlag.3g \
PEXOCCSetGlobalTransform.3g \
PEXOCCSetGlobalTransform2D.3g \
PEXOCCSetHLHSRID.3g \
PEXOCCSetIndividualASF.3g \
PEXOCCSetInteriorBundleIndex.3g \
PEXOCCSetInteriorStyle.3g \
PEXOCCSetInteriorStyleIndex.3g \
PEXOCCSetLightSourceState.3g \
PEXOCCSetLineBundleIndex.3g \
PEXSetLineColor.3g \
PEXSetLineColorIndex.3g \
PEXSetLineType.3g \
PEXSetLineWidth.3g \
PEXSetLocalTransform.3g \
PEXSetLocalTransform2D.3g \
PEXSetMarkerBundleIndex.3g \
PEXSetMarkerColor.3g \
PEXSetMarkerColorIndex.3g \
PEXSetMarkerScale.3g \
PEXSetMarkerType.3g \
PEXSetModelClipFlag.3g \
PEXSetModelClipVolume.3g \
PEXSetModelClipVolume2D.3g \
PEXSetOCCAll5_2.3g \
PEXSetOCCColorType.3g \
PEXSetOCCContourHint.3g \
PEXSetOCCContoursAllOne.3g \
PEXSetOCCDataModel.3g \
PEXSetOCCDataModelSpecsStride.3g \
PEXSetOCCDataModelSpecsUnpacked.3g \
PEXSetOCCDisplay.3g \
PEXSetOCCEdgeAttributes.3g \
PEXSetOCCEncodingState.3g \
PEXSetOCCFacetAttributes.3g \
PEXSetOCCFacetFPDataCount.3g \
PEXSetOCCIgnoreEdges.3g \
PEXSetOCCLineVertexAttributes.3g \
PEXSetOCCLineVertexFPDataCount.3g \
PEXSetOCCMarkerVertexAttributes.3g \
PEXSetOCCMarkerVertexFPDataCount.3g \
PEXSetOCCRenderer.3g \
PEXSetOCCReqType.3g \
PEXSetOCCRequestTarget.3g \
PEXSetOCCShapeHint.3g \
PEXSetOCCStructure.3g \
PEXSetOCCSurfaceVertexAttributes.3g \
PEXSetOCCSurfaceVertexFPDataCount.3g \
PEXSetOCCValueMask.3g \
PEXSetOfFillAreaSets.3g \
PEXSetPCAttributeMask.3g \
PEXSetPCAttributeMaskAll.3g \
PEXSetParaSurfCharacteristics.3g \
PEXSetPatternAttributes.3g \
PEXSetPatternAttributes2D.3g \
PEXSetPatternSize.3g \
PEXSetPickID.3g \
PEXSetPolylineInterpMethod.3g \
PEXSetReflectionAttributes.3g \
PEXSetReflectionModel.3g \
PEXSetRenderingColorModel.3g \
PEXSetStructurePermission.3g \
PEXSetSurfaceApprox.3g \
PEXSetSurfaceColor.3g \
PEXSetSurfaceColorIndex.3g \
PEXSetSurfaceEdgeColor.3g \
PEXSetSurfaceEdgeColorIndex.3g \
PEXSetSurfaceEdgeFlag.3g \
PEXSetSurfaceEdgeType.3g \
PEXSetSurfaceEdgeWidth.3g \
PEXSetSurfaceInterpMethod.3g \
PEXSetTableEntries.3g \
PEXSetTextAlignment.3g \
PEXSetTextBundleIndex.3g \
PEXSetTextColor.3g \
PEXSetTextColorIndex.3g \
PEXSetTextFontIndex.3g \
PEXSetTextPath.3g \
PEXSetTextPrecision.3g \
PEXSetViewIndex.3g \
PEXStartOCs.3g \
PEXText.3g \
PEXText2D.3g \
PEXTransformPoints.3g \
PEXTransformPoints2D.3g \
PEXTransformPoints2DH.3g \
PEXTransformPoints4D.3g \
PEXTransformVectors.3g \
PEXTransformVectors2D.3g \
PEXTranslate.3g \
PEXTranslate2D.3g \
PEXTriangleStrip.3g \
PEXUnloadFont.3g \
PEXUtCheckColorApproximation.3g \
PEXUtGetStandardColormapInfo.3g \
PEXUtMakeColormap.3g \
PEXUtMakeWindow.3g \
PEXUtMakeWindowAndColormap.3g \
PEXUtSelectVisual.3g \
PEXUtSimpleWindowAndColormap.3g \
PEXViewMappingMatrix.3g \
PEXViewMappingMatrix2D.3g \
PEXViewOrientationMatrix.3g \
PEXViewOrientationMatrix2D.3g \
PEXXCToNPCTransform.3g \
PEXXCToNPCTransform2D.3g \
XgPEXDrawArea.3g \
pexaccumulatestate.3g \
pexaddtonameset.3g \
pexannotationtext.3g \
pexannotationtext2d.3g \
pexapplicationdata.3g \
pexbeginpickall.3g \
pexbeginpickone.3g \
pexbeginrendering.3g \
pexbeginstructure.3g \
pexbuildtransform.3g \
pexbuildtransform2d.3g \
pexcellarray.3g \
pexcellarray2d.3g \
pexchangenameset.3g \
pexchangeocc.3g \
pexchangepipelinecontext.3g \
pexchangerenderer.3g \
pexchangesearchcontext.3g \
pexchangestructurerefs.3g \
pexcopybytestooc.3g \
pexcopyelements.3g \
pexcopylookuptable.3g \
pexcopynameset.3g \
pexcopyoccvalues.3g \
pexcopypipelinecontext.3g \
pexcopypixmaptozbuffer.3g \
pexcopysearchcontext.3g \
pexcopystructure.3g \
pexcopyzbuffertopixmap.3g \
pexcountocs.3g \
pexcreatelookuptable.3g \
pexcreatenameset.3g \
pexcreateocc.3g \
pexcreatepipelinecontext.3g \
pexcreaterenderer.3g \
pexcreatesearchcontext.3g \
pexcreatestructure.3g \
pexdecodeocs.3g \
pexdeletebetweenlabels.3g \
pexdeleteelements.3g \
pexdeletetableentries.3g \
pexdeletetolabel.3g \
pexdestroystructures.3g \
pexelementsearch.3g \
pexencodeocs.3g \
pexencodedannotext.3g \
pexencodedannotext2d.3g \
pexencodedtext.3g \
pexencodedtext2d.3g \
pexendpickall.3g \
pexendpickone.3g \
pexendrendering.3g \
pexendstructure.3g \
pexescape.3g \
pexescapewithreply.3g \
pexexecutestructure.3g \
pexextchangepipelinecontext.3g \
pexextchangerenderer.3g \
pexextcircle2d.3g \
pexextcirculararc2d.3g \
pexextcountocs.3g \
pexextcreatefilteredtm.3g \
pexextcreatefilteredtmfromwindow.3g \
pexextcreatetm.3g \
pexextcreatetmdescription.3g \
pexextdecodeocs.3g \
pexextellipse.3g \
pexextellipse2d.3g \
pexextellipticalarc.3g \
pexextellipticalarc2d.3g \
pexextencodeocs.3g \
pexextfetchelements.3g \
pexextfetchelementsandsend.3g \
pexextfillareasetwithdata.3g \
pexextfreefilteredtm.3g \
pexextfreeocdata.3g \
pexextfreepcattributes.3g \
pexextfreerendererattributes.3g \
pexextfreetm.3g \
pexextfreetmdescription.3g \
pexextfreetableentries.3g \
pexextgetpipelinecontext.3g \
pexextgetrendererattributes.3g \
pexextgetsizeocs.3g \
pexextgettableentries.3g \
pexextgettableentry.3g \
pexextquadrilateralmesh.3g \
pexextquerycolorapprox.3g \
pexextsetactivetextures.3g \
pexextsetbfactivetextures.3g \
pexextsetlinecapstyle.3g \
pexextsetlinejoinstyle.3g \
pexextsetoffillareasets.3g \
pexextsetpcattributemask.3g \
pexextsetpcattributemaskall.3g \
pexextsetprimitiveaa.3g \
pexextsetrendererattributemask.3g \
pexextsetrendererattributemaskall.3g \
pexextsettmperspectivecorrection.3g \
pexextsettmresourcehints.3g \
pexextsettmsamplefrequency.3g \
pexextsettableentries.3g \
pexexttmcoordfillareasetwithdata.3g \
pexexttmcoordquadrilateralmesh.3g \
pexexttmcoordsetoffillareasets.3g \
pexexttmcoordtrianglestrip.3g \
pexexttrianglestrip.3g \
pexextendedcellarray.3g \
pexfetchelements.3g \
pexfetchelementsandsend.3g \
pexfillarea.3g \
pexfillarea2d.3g \
pexfillareaset.3g \
pexfillareaset2d.3g \
pexfillareasetwithdata.3g \
pexfillareawithdata.3g \
pexfinishocs.3g \
pexfreeenuminfo.3g \
pexfreefontinfo.3g \
pexfreefontnames.3g \
pexfreelookuptable.3g \
pexfreenameset.3g \
pexfreeocc.3g \
pexfreeocdata.3g \
pexfreepcattributes.3g \
pexfreepickpaths.3g \
pexfreepipelinecontext.3g \
pexfreerenderer.3g \
pexfreerendererattributes.3g \
pexfreescattributes.3g \
pexfreesearchcontext.3g \
pexfreestructurepaths.3g \
pexfreetableentries.3g \
pexgdp2d.3g \
pexgse.3g \
pexgeonormfillarea.3g \
pexgeonormfillareaset.3g \
pexgeonormquadrilateralmesh.3g \
pexgeonormsetoffillareasets.3g \
pexgeonormtrianglestrip.3g \
pexgetancestors.3g \
pexgetdefinedindices.3g \
pexgetdescendants.3g \
pexgetelementinfo.3g \
pexgetenumtypeinfo.3g \
pexgetextensioninfo.3g \
pexgetimpdepconstants.3g \
pexgetnameset.3g \
pexgetocaddr.3g \
pexgetocaddrmaxsize.3g \
pexgetoccvalues.3g \
pexgetpipelinecontext.3g \
pexgetpredefinedentries.3g \
pexgetprotocolfloatformat.3g \
pexgetrendererattributes.3g \
pexgetrendererdynamics.3g \
pexgetsearchcontext.3g \
pexgetsizeocs.3g \
pexgetstructureinfo.3g \
pexgetstructuresinnetwork.3g \
pexgettableentries.3g \
pexgettableentry.3g \
pexgettableinfo.3g \
pexgetzbuffer.3g \
pexhpchangepipelinecontext.3g \
pexhpchangerenderer.3g \
pexhpfreepcattributes.3g \
pexhpfreerendererattributes.3g \
pexhpgetpipelinecontext.3g \
pexhpgetrendererattributes.3g \
pexhpmarkerswithdata.3g \
pexhppolylinesetwithdata.3g \
pexhpsetalphablendfunction.3g \
pexhpsetcappingplanes.3g \
pexhpsetdeformationmode.3g \
pexhpsetdeformationvaluelocation.3g \
pexidentitymatrix.3g \
pexidentitymatrix2d.3g \
pexinitialize.3g \
pexinvertmatrix.3g \
pexinvertmatrix2d.3g \
pexlabel.3g \
pexlistfonts.3g \
pexlistfontswithinfo.3g \
pexloadfont.3g \
pexlookatviewmatrix.3g \
pexmapxctonpc.3g \
pexmapxctonpc2d.3g \
pexmarkers.3g \
pexmarkers2d.3g \
pexmatchrenderingtargets.3g \
pexmatrixmult.3g \
pexmatrixmult2d.3g \
pexnpctoxctransform.3g \
pexnpctoxctransform2d.3g \
pexnurbcurve.3g \
pexnurbsurface.3g \
pexnormalizevectors.3g \
pexnormalizevectors2d.3g \
pexoccaddtonameset.3g \
pexoccannotationtext.3g \
pexoccannotationtext2d.3g \
pexoccapplicationdata.3g \
pexocccellarray.3g \
pexocccellarray2d.3g \
pexoccencodedannotext.3g \
pexoccencodedannotext2d.3g \
pexoccencodedtext.3g \
pexoccencodedtext2d.3g \
pexoccexecutestructure.3g \
pexoccextsetactivetextures.3g \
pexoccextsetbfactivetextures.3g \
pexoccextsetlinecapstyle.3g \
pexoccextsetlinejoinstyle.3g \
pexoccextsetprimitiveaa.3g \
pexoccextsettmperspectivecorrection.3g \
pexoccextsettmresourcehints.3g \
pexoccextsettmsamplefrequency.3g \
pexoccextendedcellarray.3g \
pexoccfillarea.3g \
pexoccfillareaset.3g \
pexoccgse.3g \
pexocchpsetalphablendfunction.3g \
pexocchpsetcappingplanes.3g \
pexocchpsetdeformationmode.3g \
pexocchpsetdeformationvaluelocation.3g \
pexoccindexedfillareasets.3g \
pexoccmarkers.3g \
pexoccnoop.3g \
pexoccpolyline.3g \
pexoccpolylines.3g \
pexoccquadrilateralmesh.3g \
pexoccremovefromnameset.3g \
pexoccrestoremodelclipvolume.3g \
pexoccsetatextalignment.3g \
pexoccsetatextheight.3g \
pexoccsetatextpath.3g \
pexoccsetatextstyle.3g \
pexoccsetatextupvector.3g \
pexoccsetbfinteriorstyle.3g \
pexoccsetbfinteriorstyleindex.3g \
pexoccsetbfreflectionattributes.3g \
pexoccsetbfreflectionmodel.3g \
pexoccsetbfsurfacecolor.3g \
pexoccsetbfsurfacecolorindex.3g \
pexoccsetbfsurfaceinterpmethod.3g \
pexoccsetcharexpansion.3g \
pexoccsetcharheight.3g \
pexoccsetcharspacing.3g \
pexoccsetcharupvector.3g \
pexoccsetcolorapproxindex.3g \
pexoccsetcurveapprox.3g \
pexoccsetdepthcueindex.3g \
pexoccsetdrawingfunction.3g \
pexoccsetedgebundleindex.3g \
pexoccsetfacetcullingmode.3g \
pexoccsetfacetdistinguishflag.3g \
pexoccsetglobaltransform.3g \
pexoccsetglobaltransform2d.3g \
pexoccsethlhsrid.3g \
pexoccsetindividualasf.3g \
pexoccsetinteriorbundleindex.3g \
pexoccsetinteriorstyle.3g \
pexoccsetinteriorstyleindex.3g \
pexoccsetlightsourcestate.3g \
pexoccsetlinebundleindex.3g \
pexsetlinecolor.3g \
pexsetlinecolorindex.3g \
pexsetlinetype.3g \
pexsetlinewidth.3g \
pexsetlocaltransform.3g \
pexsetlocaltransform2d.3g \
pexsetmarkerbundleindex.3g \
pexsetmarkercolor.3g \
pexsetmarkercolorindex.3g \
pexsetmarkerscale.3g \
pexsetmarkertype.3g \
pexsetmodelclipflag.3g \
pexsetmodelclipvolume.3g \
pexsetmodelclipvolume2d.3g \
pexsetoccall5_2.3g \
pexsetocccolortype.3g \
pexsetocccontourhint.3g \
pexsetocccontoursallone.3g \
pexsetoccdatamodel.3g \
pexsetoccdatamodelspecsstride.3g \
pexsetoccdatamodelspecsunpacked.3g \
pexsetoccdisplay.3g \
pexsetoccedgeattributes.3g \
pexsetoccencodingstate.3g \
pexsetoccfacetattributes.3g \
pexsetoccfacetfpdatacount.3g \
pexsetoccignoreedges.3g \
pexsetocclinevertexattributes.3g \
pexsetocclinevertexfpdatacount.3g \
pexsetoccmarkervertexattributes.3g \
pexsetoccmarkervertexfpdatacount.3g \
pexsetoccrenderer.3g \
pexsetoccreqtype.3g \
pexsetoccrequesttarget.3g \
pexsetoccshapehint.3g \
pexsetoccstructure.3g \
pexsetoccsurfacevertexattributes.3g \
pexsetoccsurfacevertexfpdatacount.3g \
pexsetoccvaluemask.3g \
pexsetoffillareasets.3g \
pexsetpcattributemask.3g \
pexsetpcattributemaskall.3g \
pexsetparasurfcharacteristics.3g \
pexsetpatternattributes.3g \
pexsetpatternattributes2d.3g \
pexsetpatternsize.3g \
pexsetpickid.3g \
pexsetpolylineinterpmethod.3g \
pexsetreflectionattributes.3g \
pexsetreflectionmodel.3g \
pexsetrenderingcolormodel.3g \
pexsetstructurepermission.3g \
pexsetsurfaceapprox.3g \
pexsetsurfacecolor.3g \
pexsetsurfacecolorindex.3g \
pexsetsurfaceedgecolor.3g \
pexsetsurfaceedgecolorindex.3g \
pexsetsurfaceedgeflag.3g \
pexsetsurfaceedgetype.3g \
pexsetsurfaceedgewidth.3g \
pexsetsurfaceinterpmethod.3g \
pexsettableentries.3g \
pexsettextalignment.3g \
pexsettextbundleindex.3g \
pexsettextcolor.3g \
pexsettextcolorindex.3g \
pexsettextfontindex.3g \
pexsettextpath.3g \
pexsettextprecision.3g \
pexsetviewindex.3g \
pextext.3g \
pextransformpoints.3g \
pextransformpoints2d.3g \
pextransformpoints2dh.3g \
pextransformpoints4d.3g \
pextransformvectors.3g \
pextransformvectors2d.3g \
pextranslate.3g \
pextranslate2d.3g \
pextrianglestrip.3g \
pexunloadfont.3g \
pexutcheckcolorapproximation.3g \
pexutgetstandardcolormapinfo.3g \
"
# Link old pex man commands to pex.3g.  A message to the screen is 
# sent to use pexman and the correct MANPATH

for FILE_TO_LINK in $PEX5_LIST
do
    link_and_add_IPD ${PEX5_MAN_DIR}/$HARD_LINK_TARGET ${PEX5_MAN_DIR}/$FILE_TO_LINK
done

PEX5_LIST=""

PEX5_LIST="pexutmakecolormap.3g \
pexutmakewindow.3g \
pexutmakewindowandcolormap.3g \
pexutselectvisual.3g \
pexutsimplewindowandcolormap.3g \
pexviewmappingmatrix.3g \
pexviewmappingmatrix2d.3g \
pexvieworientationmatrix.3g \
pexvieworientationmatrix2d.3g \
pexxctonpctransform.3g \
pexxctonpctransform2d.3g \
xgpexdrawarea.3g \
PEXAccumula.3g \
PEXAddToNam.3g \
PEXAnnTxt.3g \
PEXAnnTxt2D.3g \
PEXApplicat.3g \
PEXBgPicAll.3g \
PEXBgPicOne.3g \
PEXBgRender.3g \
PEXBgStruct.3g \
PEXBdTrfm.3g \
PEXBdTrfm2D.3g \
PEXCelAry.3g \
PEXCelAry2D.3g \
PEXChangeNa.3g \
PEXChangeOC.3g \
PEXChangePi.3g \
PEXChangeRe.3g \
PEXChangeSe.3g \
PEXChangeSt.3g \
PEXCopyByte.3g \
PEXCopyElem.3g \
PEXCopyLook.3g \
PEXCopyName.3g \
PEXCopyOCCV.3g \
PEXCopyPipe.3g \
PEXCopyPixm.3g \
PEXCopySear.3g \
PEXCopyStru.3g \
PEXCopyZBuf.3g \
PEXCreateLo.3g \
PEXCreateNa.3g \
PEXCreateOC.3g \
PEXCreatePi.3g \
PEXCreateRe.3g \
PEXCreateSe.3g \
PEXCreateSt.3g \
PEXDecodOCs.3g \
PEXDeleteBe.3g \
PEXDeleteEl.3g \
PEXDeleteTa.3g \
PEXDeleteTo.3g \
PEXDestroyS.3g \
PEXElementS.3g \
PEXEncodeOC.3g \
PEXEnAnTx.3g \
PEXEnAnTx2D.3g \
PEXEncTxt.3g \
PEXEncTxt2D.3g \
PEXEnPicAll.3g \
PEXEnPicOne.3g \
PEXEndRende.3g \
PEXEndStruc.3g \
PEXEscapeWi.3g \
PEXExecuteS.3g \
PEXExChPipe.3g \
PEXExChRend.3g \
PEXExCir2D.3g \
PEXExCirA2D.3g \
PEXExtCount.3g \
PEXExCrFiTM.3g \
PEXExCrFiFW.3g \
PEXExCrTM.3g \
PEXExCrTMDe.3g \
PEXExDeOCs.3g \
PEXExElps.3g \
PEXExElps2D.3g \
PEXExElpsAr.3g \
PEXExElpA2D.3g \
PEXExEnOCs.3g \
PEXExFtEl.3g \
PEXExFtElAn.3g \
PEXExFiASWD.3g \
PEXExFrFiTM.3g \
PEXExFrOCDa.3g \
PEXExFrPCAt.3g \
PEXExFrRend.3g \
PEXExFrTM.3g \
PEXExFrTMDe.3g \
PEXExFrTEnt.3g \
PEXExGetPip.3g \
PEXExGetRen.3g \
PEXExGetSi.3g \
PEXExGtTbEs.3g \
PEXExGtTbEy.3g \
PEXExQdMesh.3g \
PEXExQueryC.3g \
PEXExtSetAc.3g \
PEXExtSetBF.3g \
PEXExSetLnC.3g \
PEXExSetLnJ.3g \
PEXExSetOfF.3g \
PEXExStPCMk.3g \
PEXExStPCMA.3g \
PEXExStPrim.3g \
PEXExStRAMk.3g \
PEXExStRAAl.3g \
PEXExSetTMP.3g \
PEXExSetTMR.3g \
PEXExSetTMS.3g \
PEXExSetTab.3g \
PEXExTMCorF.3g \
PEXExTMCorQ.3g \
PEXExTMCorS.3g \
PEXExTMCorT.3g \
PEXExtTrian.3g \
PEXExtended.3g \
PEXFetElmts.3g \
PEXFetElmtA.3g \
PEXFillArSt.3g \
PEXFillAr2D.3g \
PEXFillArSW.3g \
PEXFillArWD.3g \
PEXFinishOC.3g \
PEXFreEnum.3g \
PEXFreFont.3g \
PEXFreFontN.3g \
PEXFreLookT.3g \
PEXFreeName.3g \
PEXFreeOCDa.3g \
PEXFreePCAt.3g \
PEXFreePick.3g \
PEXFreePipe.3g \
PEXFreRende.3g \
PEXFreRendA.3g \
PEXFreeSCAt.3g \
PEXFreeSear.3g \
PEXFreeStru.3g \
PEXFreeTabl.3g \
PEXGeoNmFAr.3g \
PEXGeoNmFAS.3g \
PEXGeoNmQua.3g \
PEXGeoNmSet.3g \
PEXGeoNormT.3g \
PEXGetAnces.3g \
PEXGetDefin.3g \
PEXGetDesce.3g \
PEXGetEleme.3g \
PEXGetEnumT.3g \
PEXGetExten.3g \
PEXGetImpDe.3g \
PEXGetNameS.3g \
PEXGetOCAd.3g \
PEXGetOCAdM.3g \
PEXGetOCCVa.3g \
PEXGetPipel.3g \
PEXGetPrede.3g \
PEXGetProto.3g \
PEXGetRenAt.3g \
PEXGetRenDy.3g \
PEXGetSearc.3g \
PEXGetSizeO.3g \
PEXGetStrIn.3g \
PEXGetStrIk.3g \
PEXGetTabEt.3g \
PEXGetTabEy.3g \
PEXGetTabIf.3g \
PEXGetZBuff.3g \
PEXHPChgPip.3g \
PEXHPChgRen.3g \
PEXHPFreePC.3g \
PEXHPFreeRe.3g \
PEXHPGetPip.3g \
PEXHPGetRen.3g \
PEXHPMarker.3g \
PEXHPPolyli.3g \
PEXHPSetAlp.3g \
PEXHPSetCap.3g \
PEXHPStDfrM.3g \
PEXHPStDfrV.3g \
PEXIdenMt.3g \
PEXIdenMt2D.3g \
PEXInitiali.3g \
PEXInvMat.3g \
PEXInvMat2D.3g \
PEXListFon.3g \
PEXListFonW.3g \
PEXLookAtVi.3g \
PEXMpXCTNPC.3g \
PEXMpXCTN2D.3g \
PEXMarker.3g \
PEXMarker2D.3g \
PEXMatchRen.3g \
PEXMtxMul.3g \
PEXMtxMul2D.3g \
PEXNPCXCT.3g \
PEXNPCXCT2D.3g \
PEXNURBCurv.3g \
PEXNURBSurf.3g \
PEXNormVc.3g \
PEXNormVc2D.3g \
PEXOCCAddTo.3g \
PEXOCAnTt.3g \
PEXOCAnTt2D.3g \
PEXOCCAppli.3g \
PEXOCelAr.3g \
PEXOCelAr2D.3g \
PEXOCEnAT.3g \
PEXOCEnAT2D.3g \
PEXOCEnTx.3g \
PEXOCEnTx2D.3g \
PEXOCCExecu.3g \
PEXOCExSetA.3g \
PEXOCExSetB.3g \
PEXOCExSLCS.3g \
PEXOCExSLJS.3g \
PEXOCExSPAA.3g \
PEXOCExSTMC.3g \
PEXOCExSTMH.3g \
PEXOCExSTMF.3g \
PEXOCCExten.3g \
PEXOCFiAr.3g \
PEXOCFiArSe.3g \
PEXOCHPStAl.3g \
PEXOCHPStCa.3g \
PEXOCHPStDM.3g \
PEXOCHPStDV.3g \
PEXOCCIndex.3g \
PEXOCCMarke.3g \
PEXOCPoln.3g \
PEXOCPolns.3g \
PEXOCCQuadr.3g \
PEXOCCRemov.3g \
PEXOCCResto.3g \
PEXOCStATxA.3g \
PEXOCStATxH.3g \
PEXOCStATxP.3g \
PEXOCStATxS.3g \
PEXOCStATex.3g \
PEXOCStBFIn.3g \
PEXOCStBFIS.3g \
PEXOCStBFAt.3g \
PEXOCStBFMo.3g \
PEXOCStBFSC.3g \
PEXOCStBFSI.3g \
PEXOCStBFSM.3g \
PEXOCStChrE.3g \
PEXOCStChrH.3g \
PEXOCStChrS.3g \
PEXOCStChrU.3g \
PEXOCStColo.3g \
PEXOCStCurv.3g \
PEXOCStDept.3g \
PEXOCStDraw.3g \
PEXOCStEdge.3g \
PEXOCStFacC.3g \
PEXOCStFacD.3g \
PEXOCStGl.3g \
PEXOCStGl2D.3g \
PEXOCStHLHS.3g \
PEXOCStIndi.3g \
PEXOCStIntB.3g \
PEXOCStInSt.3g \
PEXOCStInSI.3g \
PEXOCStLigh.3g \
PEXOCStLine.3g \
PEXStLnColo.3g \
PEXStLnColI.3g \
PEXSetLineT.3g \
PEXSetLineW.3g \
PEXSetLoc.3g \
PEXSetLoc2D.3g \
PEXSetMkrBu.3g \
PEXSetMkrCo.3g \
PEXSetMkrCI.3g \
PEXSetMkrSc.3g \
PEXSetMkrTy.3g \
PEXStMdCFla.3g \
PEXStMdCV.3g \
PEXStMdCV2D.3g \
PEXSetOCCAl.3g \
PEXStOCColo.3g \
PEXStOCConH.3g \
PEXStOCConA.3g \
PEXStOCDaMo.3g \
PEXStOCDaSS.3g \
PEXStOCDaSU.3g \
PEXStOCDisp.3g \
PEXStOCEdge.3g \
PEXStOCEnco.3g \
PEXStOCFacA.3g \
PEXStOCFacF.3g \
PEXStOCIgno.3g \
PEXStOCLnVA.3g \
PEXStOCLnVF.3g \
PEXStOCMkVA.3g \
PEXStOCMkVF.3g \
PEXStOCRend.3g \
PEXStOCReqT.3g \
PEXStOCRequ.3g \
PEXStOCShap.3g \
PEXStOCStru.3g \
PEXStOCSurA.3g \
PEXStOCSurF.3g \
PEXStOCValu.3g \
PEXStOfFill.3g \
PEXStPCAMsk.3g \
PEXStPCAMkA.3g \
PEXStParaSu.3g \
PEXStPtrnAt.3g \
PEXStPtrn2D.3g \
PEXStPtrnSi.3g \
PEXStPickID.3g \
PEXStPolyli.3g \
PEXStRflecA.3g \
PEXStRflecM.3g \
PEXStRender.3g \
PEXStStruct.3g \
PEXStSurfAp.3g \
PEXStSurfCo.3g \
PEXStSurfCI.3g \
PEXStSurECo.3g \
PEXStSurECI.3g \
PEXStSurEdF.3g \
PEXStSurEdT.3g \
PEXStSurEdW.3g \
PEXStSurInM.3g \
PEXStTableE.3g \
PEXStTextAl.3g \
PEXStTextBu.3g \
PEXStTxtCol.3g \
PEXStTxtCoI.3g \
PEXStTextFo.3g \
PEXStTextPa.3g \
PEXStTextPr.3g \
PEXStViewIn.3g \
PEXTranPts.3g \
PEXTranPt2D.3g \
PEXTranP2DH.3g \
PEXTranPt4D.3g \
PEXTranVect.3g \
PEXTranVc2D.3g \
PEXTranslat.3g \
PEXTransl2D.3g \
PEXTriangle.3g \
PEXUnloadFo.3g \
PEXUtCheckC.3g \
PEXUtGetSta.3g \
PEXUtMakeCo.3g \
PEXUtMakWin.3g \
PEXUtMakWiC.3g \
PEXUtSelect.3g \
PEXUtSimple.3g \
PEXVwMapMat.3g \
PEXVwMapM2D.3g \
PEXVwOrnMat.3g \
PEXVwOrnM2D.3g \
PEXXCNPCTra.3g \
PEXXCNPCT2D.3g \
XgPEXDrawAr.3g \
pexaccumula.3g \
pexaddtonam.3g \
pexanntxt.3g \
pexanntxt2d.3g \
pexapplicat.3g \
pexbgpicall.3g \
pexbgpicone.3g \
pexbgrender.3g \
pexbgstruct.3g \
pexbdtrfm.3g \
pexbdtrfm2d.3g \
pexcelary.3g \
pexcelary2d.3g \
pexchangena.3g \
pexchangeoc.3g \
pexchangepi.3g \
pexchangere.3g \
pexchangese.3g \
pexchangest.3g \
pexcopybyte.3g \
pexcopyelem.3g \
pexcopylook.3g \
pexcopyname.3g \
pexcopyoccv.3g \
pexcopypipe.3g \
pexcopypixm.3g \
pexcopysear.3g \
pexcopystru.3g \
pexcopyzbuf.3g \
pexcreatelo.3g \
pexcreatena.3g \
pexcreateoc.3g \
pexcreatepi.3g \
pexcreatere.3g \
pexcreatese.3g \
pexcreatest.3g \
pexdecodocs.3g \
pexdeletebe.3g \
pexdeleteel.3g \
pexdeleteta.3g \
pexdeleteto.3g \
pexdestroys.3g \
pexelements.3g \
pexencodeoc.3g \
pexenantx.3g \
pexenantx2d.3g \
pexenctxt.3g \
pexenctxt2d.3g \
pexenpicall.3g \
pexenpicone.3g \
pexendrende.3g \
pexendstruc.3g \
pexescapewi.3g \
pexexecutes.3g \
pexexchpipe.3g \
pexexchrend.3g \
pexexcir2d.3g \
pexexcira2d.3g \
pexextcount.3g \
pexexcrfitm.3g \
pexexcrfifw.3g \
pexexcrtm.3g \
pexexcrtmde.3g \
pexexdeocs.3g \
pexexelps.3g \
pexexelps2d.3g \
pexexelpsar.3g \
pexexelpa2d.3g \
pexexenocs.3g \
pexexftel.3g \
pexexftelan.3g \
pexexfiaswd.3g \
pexexfrfitm.3g \
pexexfrocda.3g \
pexexfrpcat.3g \
pexexfrrend.3g \
pexexfrtm.3g \
pexexfrtmde.3g \
pexexfrtent.3g \
pexexgetpip.3g \
pexexgetren.3g \
pexexgetsi.3g \
pexexgttbes.3g \
pexexgttbey.3g \
pexexqdmesh.3g \
pexexqueryc.3g \
pexextsetac.3g \
pexextsetbf.3g \
pexexsetlnc.3g \
pexexsetlnj.3g \
pexexsetoff.3g \
pexexstpcmk.3g \
pexexstpcma.3g \
pexexstprim.3g \
pexexstramk.3g \
pexexstraal.3g \
pexexsettmp.3g \
pexexsettmr.3g \
pexexsettms.3g \
pexexsettab.3g \
pexextmcorf.3g \
pexextmcorq.3g \
pexextmcors.3g \
pexextmcort.3g \
pexexttrian.3g \
pexextended.3g \
pexfetelmts.3g \
pexfetelmta.3g \
pexfillarst.3g \
pexfillar2d.3g \
pexfillarsw.3g \
pexfillarwd.3g \
pexfinishoc.3g \
pexfreenum.3g \
pexfrefont.3g \
pexfrefontn.3g \
pexfrelookt.3g \
pexfreename.3g \
pexfreeocda.3g \
pexfreepcat.3g \
pexfreepick.3g \
pexfreepipe.3g \
pexfrerende.3g \
pexfrerenda.3g \
pexfreescat.3g \
pexfreesear.3g \
pexfreestru.3g \
pexfreetabl.3g \
pexgdp.3g \
pexgeonmfar.3g \
pexgeonmfas.3g \
pexgeonmqua.3g \
pexgeonmset.3g \
pexgeonormt.3g \
pexgetances.3g \
pexgetdefin.3g \
pexgetdesce.3g \
pexgeteleme.3g \
pexgetenumt.3g \
pexgetexten.3g \
pexgetimpde.3g \
pexgetnames.3g \
pexgetocad.3g \
pexgetocadm.3g \
pexgetoccva.3g \
pexgetpipel.3g \
pexgetprede.3g \
pexgetproto.3g \
pexgetrenat.3g \
pexgetrendy.3g \
pexgetsearc.3g \
pexgetsizeo.3g \
pexgetstrin.3g \
pexgetstrik.3g \
pexgettabet.3g \
pexgettabey.3g \
pexgettabif.3g \
pexgetzbuff.3g \
pexhpchgpip.3g \
pexhpchgren.3g \
pexhpfreepc.3g \
pexhpfreere.3g \
pexhpgetpip.3g \
pexhpgetren.3g \
pexhpmarker.3g \
pexhppolyli.3g \
pexhpsetalp.3g \
pexhpsetcap.3g \
pexhpstdfrm.3g \
pexhpstdfrv.3g \
pexidenmt.3g \
pexidenmt2d.3g \
pexinitiali.3g \
pexinvmat.3g \
pexinvmat2d.3g \
pexlistfon.3g \
pexlistfonw.3g \
pexlookatvi.3g \
pexmpxctnpc.3g \
pexmpxctn2d.3g \
pexmarker.3g \
pexmarker2d.3g \
pexmatchren.3g \
pexmtxmul.3g \
pexmtxmul2d.3g \
pexnpcxct.3g \
pexnpcxct2d.3g \
pexnurbcurv.3g \
pexnurbsurf.3g \
pexnoop.3g \
pexnormvc.3g \
pexnormvc2d.3g \
pexoccaddto.3g \
pexocantt.3g \
pexocantt2d.3g \
pexoccappli.3g \
pexocelar.3g \
pexocelar2d.3g \
pexocenat.3g \
pexocenat2d.3g \
pexocentx.3g \
pexocentx2d.3g \
pexoccexecu.3g \
pexocexseta.3g \
pexocexsetb.3g \
pexocexslcs.3g \
pexocexsljs.3g \
pexocexspaa.3g \
pexocexstmc.3g \
pexocexstmh.3g \
pexocexstmf.3g \
pexoccexten.3g \
pexocfiar.3g \
pexocfiarse.3g \
pexoccgdp.3g \
pexochpstal.3g \
pexochpstca.3g \
pexochpstdm.3g \
pexochpstdv.3g \
pexoccindex.3g \
pexocclabel.3g \
pexoccmarke.3g \
pexocpoln.3g \
pexocpolns.3g \
pexoccquadr.3g \
pexoccremov.3g \
pexoccresto.3g \
pexocstatxa.3g \
pexocstatxh.3g \
pexocstatxp.3g \
pexocstatxs.3g \
pexocstatex.3g \
pexocstbfin.3g \
pexocstbfis.3g \
pexocstbfat.3g \
pexocstbfmo.3g \
pexocstbfsc.3g \
pexocstbfsi.3g \
pexocstbfsm.3g \
pexocstchre.3g \
pexocstchrh.3g \
pexocstchrs.3g \
pexocstchru.3g \
pexocstcolo.3g \
pexocstcurv.3g \
pexocstdept.3g \
pexocstdraw.3g \
pexocstedge.3g \
pexocstfacc.3g \
pexocstfacd.3g \
pexocstgl.3g \
pexocstgl2d.3g \
pexocsthlhs.3g \
pexocstindi.3g \
pexocstintb.3g \
pexocstinst.3g \
pexocstinsi.3g \
pexocstligh.3g \
pexocstline.3g \
pexstlncolo.3g \
pexstlncoli.3g \
pexsetlinet.3g \
pexsetlinew.3g \
pexsetloc.3g \
pexsetloc2d.3g \
pexsetmkrbu.3g \
pexsetmkrco.3g \
pexsetmkrci.3g \
pexsetmkrsc.3g \
pexsetmkrty.3g \
pexstmdcfla.3g \
pexstmdcv.3g \
pexstmdcv2d.3g \
pexsetoccal.3g \
pexstoccolo.3g \
pexstocconh.3g \
pexstoccona.3g \
pexstocdamo.3g \
pexstocdass.3g \
pexstocdasu.3g \
pexstocdisp.3g \
pexstocedge.3g \
pexstocenco.3g \
pexstocfaca.3g \
pexstocfacf.3g \
pexstocigno.3g \
pexstoclnva.3g \
pexstoclnvf.3g \
pexstocmkva.3g \
pexstocmkvf.3g \
pexstocrend.3g \
pexstocreqt.3g \
pexstocrequ.3g \
pexstocshap.3g \
pexstocstru.3g \
pexstocsura.3g \
pexstocsurf.3g \
pexstocvalu.3g \
pexstoffill.3g \
pexstpcamsk.3g \
pexstpcamka.3g \
pexstparasu.3g \
pexstptrnat.3g \
pexstptrn2d.3g \
pexstptrnsi.3g \
pexstpickid.3g \
pexstpolyli.3g \
pexstrfleca.3g \
pexstrflecm.3g \
pexstrender.3g \
pexststruct.3g \
pexstsurfap.3g \
pexstsurfco.3g \
pexstsurfci.3g \
pexstsureco.3g \
pexstsureci.3g \
pexstsuredf.3g \
pexstsuredt.3g \
pexstsuredw.3g \
pexstsurinm.3g \
pexsttablee.3g \
pexsttextal.3g \
pexsttextbu.3g \
pexsttxtcol.3g \
pexsttxtcoi.3g \
pexsttextfo.3g \
pexsttextpa.3g \
pexsttextpr.3g \
pexstviewin.3g \
pexstartocs.3g \
pextext2d.3g \
pextranpts.3g \
pextranpt2d.3g \
pextranp2dh.3g \
pextranpt4d.3g \
pextranvect.3g \
pextranvc2d.3g \
pextranslat.3g \
pextransl2d.3g \
pextriangle.3g \
pexunloadfo.3g \
pexutcheckc.3g \
pexutgetsta.3g \
pexutmakeco.3g \
pexutmakwin.3g \
pexutmakwic.3g \
pexutselect.3g \
pexutsimple.3g \
pexvwmapmat.3g \
pexvwmapm2d.3g \
pexvwornmat.3g \
pexvwornm2d.3g \
pexxcnpctra.3g \
pexxcnpct2d.3g \
xgpexdrawar.3g \
"

for FILE_TO_LINK in $PEX5_LIST
do
    link_and_add_IPD ${PEX5_MAN_DIR}/$HARD_LINK_TARGET ${PEX5_MAN_DIR}/$FILE_TO_LINK
done

	exit $exitval
################################################################################
