blob: b858cb8246b97a038caec04674cae2c228032e32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<sect2>
<title>Command explanations</title>
<para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
The paths to some programs get written into man's files. Unfortunately, the
configure script picks the last location in PATH rather than the first
where a program is found. By appending /usr/bin:/bin to PATH for the
./configure command, we make sure that man doesn't use the /static versions
of our programs.</para>
<para><userinput>patch -Np1 -i ../man-&man-patch-version;.patch:</userinput>
This patch comments out one of the files in the <filename>man.conf</filename>
file (MANPATH /usr/man) because it will create redundant results when using
programs like <userinput>whatis</userinput>. It also adds the
<emphasis>-R</emphasis> option to the <emphasis>PAGER</emphasis> variable so
man pages are displayed properly. Lastly, the patch fixes the problem where
man pages are not formatted with more than 80 columns when used with the
recent groff versions.</para>
</sect2>
|