aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gzip-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gzip-inst.xml')
-rw-r--r--chapter06/gzip-inst.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 0bcfbff3b..55ace4eeb 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -5,30 +5,30 @@
<para>Prepare Gzip for compilation:</para>
-<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
+<screen><userinput>./configure --prefix=/usr</userinput></screen>
<para>The gzexe program has the location of the gzip binary hard-wired into
it. Because we later change the location of this binary, the following
command will place the new location into the gzexe binary.</para>
-<para><screen><userinput>cp gzexe.in{,.backup}
-sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in</userinput></screen></para>
+<screen><userinput>cp gzexe.in{,.backup}
+sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in</userinput></screen>
<para>Compile the package:</para>
-<para><screen><userinput>make</userinput></screen></para>
+<screen><userinput>make</userinput></screen>
<para>Install the package:</para>
-<para><screen><userinput>make install</userinput></screen></para>
+<screen><userinput>make install</userinput></screen>
<para>And move the programs to the <filename
class="directory">/bin</filename> directory:</para>
-<para><screen><userinput>mv /usr/bin/gzip /bin
+<screen><userinput>mv /usr/bin/gzip /bin
rm /usr/bin/{gunzip,zcat}
ln -s gzip /bin/gunzip
ln -s gzip /bin/zcat
-ln -s gunzip /bin/uncompress</userinput></screen></para>
+ln -s gunzip /bin/uncompress</userinput></screen>
</sect2>