aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-inst.xml
blob: ae3ae6dd8fdab5dc17f8fccf24c7e9a7d2691ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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="&hints-root;man.txt">&hints-root;man.txt</ulink> 
which deals with formatting and compression issues for man pages.</para>

</sect2>