lfs/chapter06/man-inst.xml
Simon Perreault 9a0cfdff03 Reference to hint.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@538 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-04-21 16:47:37 +00:00

34 lines
1.0 KiB
XML

<sect2>
<title>Installation of Man</title>
<para>
Install Man by running the following commands:
</para>
<blockquote><literallayout>
<userinput>sed -e 's|in \(.*\$PATH\)|in `echo \1`|'
\</userinput>
<userinput>&nbsp;&nbsp;&nbsp;configure &gt; tmp~
&amp;&amp;</userinput>
<userinput>mv tmp~ configure &amp;&amp;</userinput>
<userinput>chmod 755 configure &amp;&amp;</userinput>
<userinput>./configure -default &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>sed s/AWK=/"AWK=\/usr\/bin\/mawk"/
\</userinput>
<userinput>&nbsp;&nbsp;&nbsp;/usr/sbin/makewhatis
&gt; makewhatis-new &amp;&amp;</userinput>
<userinput>mv makewhatis-new /usr/sbin/makewhatis &amp;&amp;
</userinput>
<userinput>chmod 755 /usr/sbin/makewhatis</userinput>
</literallayout></blockquote>
<para>
You may want to take a look at the <ulink
url="http://archive.linuxfromscratch.org/lfs-hints/man.txt">man hint</ulink>
which deals with formatting and compression issues for man pages.
</para>
</sect2>