man-exp.xml 860 B

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