blob: b5e88a17a9d78b10e841b45f5c3b1b7eef0000b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<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.</para>
</sect2>
|