Installing Man-&man-version;
The Man package contains programs for finding and viewing manual pages.
&buildtime; &man-time;
&diskspace; &man-compsize;
&aa-man-down;
&aa-man-dep;
Installation of Man
We'll make three adjustments to the sources of Man.
The first is a patch which allows Man to work better with recent releases
of Groff. In particular, man pages will now display using the full terminal
width instead of being limited to 80 characters:
patch -Np1 -i ../&man-80cols-patch;
The second is a sed substitution to add the -R
switch to the PAGER variable so that escape sequences are
properly handled by Less:
sed -i 's/-is/&R/' configure
The third is also a sed substitution to comment out the "MANPATH
/usr/man" line in the man.conf file to prevent redundant
results when using programs such as whatis:
sed -i 's%MANPATH./usr/man%#&%' src/man.conf.in
Now prepare Man for compilation:
./configure -default -confdir=/etc
The meaning of the configure options:
-default: This tells the configure script
to select a sensible set of default options. For example: only English man
pages, no message catalogs, man not suid, handle compressed man pages, compress
cat pages, create cat pages whenever the appropriate directory exists, follow
FHS by putting cat pages under /var/cache/man provided that that directory
exists.
-confdir=/etc: This tells the
man program to look for the man.conf
configuration file in the /etc directory.
Compile the package:
make
And install it:
make install
If you wish to disable SGR escape sequences, you should edit the
man.conf file and add the -c switch
to NROFF.
You may want to also take a look at the BLFS page at
which deals with
formatting and compression issues for man pages.
&aa-man-shortdesc;
&aa-man-desc;