aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/man-inst.xml')
-rw-r--r--chapter06/man-inst.xml7
1 files changed, 2 insertions, 5 deletions
diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml
index 350228636..ad73cabdb 100644
--- a/chapter06/man-inst.xml
+++ b/chapter06/man-inst.xml
@@ -3,13 +3,10 @@
<para>Run the following commands to install man:</para>
-<para><screen><userinput>PATH=$PATH:/usr/bin:/bin \
+<para><screen><userinput>patch -Np1 -i ../man-&man-patch-version;.patch &amp;&amp;
+PATH=$PATH:/usr/bin:/bin \
&nbsp;&nbsp;&nbsp;&nbsp;./configure -default -confdir=/etc &amp;&amp;
make &amp;&amp;
-cp src/man.conf{,.backup} &amp;&amp;
-sed -e '/^PAGER/s/-is/-isR/' \
-&nbsp;&nbsp;&nbsp;&nbsp;-e 's%MANPATH[[:space:]]/usr/man%#MANPATH /usr/man%' \
-&nbsp;&nbsp;&nbsp;&nbsp;src/man.conf.backup > src/man.conf &amp;&amp;
make install</userinput></screen></para>
<para>Note: If you wish to disable SGR escape sequences, you should