aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2003-01-17 13:18:27 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2003-01-17 13:18:27 +0000
commitd9ed058fa0c16a6c13e73694003d42188ffd470a (patch)
treed99e85edcd617c1ca8eb35c16cc028fb0bb809bb /chapter06
parent0397b61e3f04dfdb45df4d2b25bc532320f9e7a0 (diff)
Billy's lilo and man conversion.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/lilo-inst.xml11
-rw-r--r--chapter06/lilo.xml4
-rw-r--r--chapter06/man-exp.xml21
-rw-r--r--chapter06/man-inst.xml48
-rw-r--r--chapter06/man.xml5
5 files changed, 53 insertions, 36 deletions
diff --git a/chapter06/lilo-inst.xml b/chapter06/lilo-inst.xml
index 1ea435aa0..60f87bc9c 100644
--- a/chapter06/lilo-inst.xml
+++ b/chapter06/lilo-inst.xml
@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Lilo</title>
@@ -5,10 +7,13 @@
may wish to choose another. Fabio Fracassi has written a hint on
GRUB, which is available at <ulink url="&hints-root;grub-howto.txt"/>.</para>
-<para>Install Lilo by running the following commands:</para>
+<para>Compile Lilo:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
-<para><screen><userinput>make &amp;&amp;
-make install</userinput></screen></para>
+<para><screen><userinput>make install</userinput></screen></para>
<para>It appears that compilation of this package fails on certain machines
when the -g compiler flag is used. If you can't compile Lilo at
diff --git a/chapter06/lilo.xml b/chapter06/lilo.xml
index 64f5829a2..fe4e951c6 100644
--- a/chapter06/lilo.xml
+++ b/chapter06/lilo.xml
@@ -5,8 +5,8 @@
<screen>Estimated build time: &lilo-time;
Estimated required disk space: &lilo-compsize;</screen>
-&c6-lilo-inst;
-&aa-lilo-desc;
+&aa-lilo-shortdesc;
&aa-lilo-dep;
+&c6-lilo-inst;
</sect1>
diff --git a/chapter06/man-exp.xml b/chapter06/man-exp.xml
deleted file mode 100644
index 8d4f97011..000000000
--- a/chapter06/man-exp.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<sect2>
-<title>Command explanations</title>
-
-<para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
-The paths to some programs get written into man's files. Unfortunately, the
-configure script picks the last location in PATH rather than the first
-where a program is found. By appending /usr/bin:/bin to PATH for the
-./configure command, we make sure that man doesn't use the /static versions
-of our programs.</para>
-
-<para><userinput>patch...:</userinput>
-These three patches comment out one of the lines in the
-<filename>man.conf</filename> file (MANPATH /usr/man) because it will create
-redundant results when using programs like <userinput>whatis</userinput>.
-It also adds the <emphasis>-R</emphasis> option to the
-<emphasis>PAGER</emphasis> variable so man pages are displayed properly.
-Lastly, the patch fixes the problem where man pages are not formatted with
-more than 80 columns when used with the recent groff versions.</para>
-
-</sect2>
-
diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml
index f07ee1615..4a639b329 100644
--- a/chapter06/man-inst.xml
+++ b/chapter06/man-inst.xml
@@ -1,22 +1,56 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Man</title>
-<para>Run the following commands to install man:</para>
-<para><screen><userinput>patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch &amp;&amp;
+
+<para>Prepare Man to be compiled:</para>
+
+<para><screen><userinput>
+patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch &amp;&amp;
patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch &amp;&amp;
patch -Np1 -i ../man-&man-pager-patch-version;-pager.patch &amp;&amp;
PATH=$PATH:/usr/bin:/bin \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure -default -confdir=/etc &amp;&amp;
-make &amp;&amp;
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;./configure -default -confdir=/etc
+</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
-<para>Note: If you wish to disable SGR escape sequences, you should
+<note><para>If you wish to disable SGR escape sequences, you should
edit the man.conf file and add the <userinput>-c</userinput> argument
-to nroff.</para>
+to nroff.</para></note>
<para>You may want to take a look at the man hint
at <ulink url="&hints-root;man.txt"/>, which deals with formatting
and compression issues for man pages.</para>
</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para><userinput>patch...:</userinput>
+These three patches comment out one of the lines in the
+<filename>man.conf</filename> file (MANPATH /usr/man) because it will create
+redundant results when using programs like <userinput>whatis</userinput>.
+It also adds the <emphasis>-R</emphasis> option to the
+<emphasis>PAGER</emphasis> variable so man pages are displayed properly.
+Lastly, the patch fixes the problem where man pages are not formatted with
+more than 80 columns when used with the recent groff versions.</para>
+
+<para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
+The paths to some programs get written into man's files. Unfortunately, the
+configure script picks the last location in PATH rather than the first
+where a program is found. By appending /usr/bin:/bin to PATH for the
+./configure command, we make sure that man doesn't use the /static versions
+of our programs.</para>
+
+</sect2>
+
diff --git a/chapter06/man.xml b/chapter06/man.xml
index 7e0edc3fd..9c0cd7978 100644
--- a/chapter06/man.xml
+++ b/chapter06/man.xml
@@ -5,10 +5,9 @@
<screen>Estimated build time: &man-time;
Estimated required disk space: &man-compsize;</screen>
-&c6-man-inst;
-&c6-man-exp;
-&aa-man-desc;
+&aa-man-shortdesc;
&aa-man-dep;
+&c6-man-inst;
</sect1>