aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gzip-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gzip-inst.xml')
-rw-r--r--chapter05/gzip-inst.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml
index 09e431d2d..d12031710 100644
--- a/chapter05/gzip-inst.xml
+++ b/chapter05/gzip-inst.xml
@@ -10,14 +10,15 @@ version, so if you aren't sure, it's best to apply it.</para>
<para>Apply the patch by running the following command:</para>
-<para><userinput>patch -Np1 -i ../gzip-&gzip-version;.patch</userinput></para>
+<para><screen><userinput>patch -Np1 -i ../gzip-&gzip-version;.patch</userinput></screen></para>
<para>Install Gzip by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>
-<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &amp;&amp;</userinput>
-<userinput>rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput></screen></para>
+
+<para><screen><userinput>./configure --prefix=$LFS/usr &amp;&amp;
+make LDFLAGS=-static &amp;&amp;
+make install &amp;&amp;
+cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &amp;&amp;
+rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput></screen></para>
</sect2>