lfs/chapter06/man-inst.xml
Gerard Beekmans c3feda740c Removed -f options from mv and rm
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1099 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-08-29 13:19:58 +00:00

22 lines
846 B
XML

<sect2>
<title>Installation of Man</title>
<para>Run the following commands to install man:</para>
<para><screen><userinput>for i in configure src/Makefile.in src/makewhatis.sh</userinput>
<userinput>do</userinput>
<userinput>&nbsp;&nbsp;&nbsp;cp $i $i.backup &amp;&amp;</userinput>
<userinput>&nbsp;&nbsp;&nbsp;sed 's/gawk/awk/g' $i &gt; tmp~ &amp;&amp;</userinput>
<userinput>&nbsp;&nbsp;&nbsp;mv tmp~ $i</userinput>
<userinput>done</userinput>
<userinput>chmod 700 configure &amp;&amp;</userinput>
<userinput>./configure -default &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>
<para>You may want to take a look at the man hint at <ulink
url="&hint-root;man.txt">&hint-root;man.txt</ulink>
which deals with formatting and compression issues for man pages.</para>
</sect2>