This document describes how to install and build the DYNIX/ptx® V4.6 man pages source.
To install the man pages source, use the procedure described in the DYNIX/ptx V4.6.x and Layered Products Software Installation Release Notes. You can perform the installation in multiuser mode. It is not necessary to compile the kernel or to reboot the operating system. The source for the man pages is installed in the directory /usr/DYNIXptx/usr/src/man.
The build procedure compresses and formats the man pages. You can build either the complete set of man pages or individual sections.
When the man pages are built, they will be placed in the /usr/catman directory, where they will replace the corresponding man pages that were installed by the base operating system. If you want to install the man pages in another location, edit the makefile in each man page directory.
Locate the following line in the makefile:
M =$(ROOT)/usr/catman/man<section>
Change the value of M to the directory where you want to install the man pages for that section. You will need to create the directory before building the man pages.
To build all of the man pages, first become root; then issue the following commands:
# cd /usr/DYNIXptx/usr/src
# ./build_man > build_man_out 2>&1 &
The file build_man_out will contain the output from the build and can be examined for errors if necessary.
To build the man pages for a specific section, first become root; then issue commands in the following form, where section represents the directory containing the man pages.
# cd /usr/DYNIXptx/usr/src/man/section
# make -f section.mk install
The following example builds the man pages in section 2(SEQ). These man pages are located in the directory g2seq.
# cd /usr/DYNIXptx/usr/src/man/g2seq
# make -f g2seq.mk install