Эх сурвалжийг харах

Simplified chapter 05/bzip2+gzip commands

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2626 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 жил өмнө
parent
commit
0d95ff98b6

+ 6 - 0
chapter01/changelog.xml

@@ -78,6 +78,12 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>May 21st, 2003 [gerard]: Chapter 05 - Gzip: Simplified
+commands.</para></listitem>
+
+<listitem><para>May 21st, 2003 [gerard]: Chapter 05 - Bzip2: Simplified
+commands.</para></listitem>
+
 <listitem><para>May 21st, 2003 [gerard]: Chapter 06 - Shadow: Added the
 <userinput>grpconv</userinput> command to complement the enabling of all
 shadowed passwords.</para></listitem>

+ 2 - 10
chapter05/bzip2-inst.xml

@@ -8,16 +8,8 @@ for compilation. Instead we just run the <userinput>make</userinput>
 program and start compiling, with a few variables changed to suit our
 environment:</para>
 
-<para><screen><userinput>make -f Makefile-libbz2_so
-make clean
-make
-make PREFIX=/stage1 install
-yes | cp bzip2-shared /stage1/bin/bzip2
-ln -s libbz2.so.1.0 libbz2.so
-cp -a libbz2.so* /stage1/lib
-rm -f /stage1/bin/{bunzip2,bzcat}
-ln -s bzip2 /stage1/bin/bunzip2
-ln -s bzip2 /stage1/bin/bzcat</userinput></screen></para>
+<para><screen><userinput>make
+make PREFIX=/stage1 install</userinput></screen></para>
 
 </sect2>
 

+ 1 - 4
chapter05/gzip-inst.xml

@@ -5,10 +5,7 @@
 
 <para><screen><userinput>./configure --prefix=/stage1
 make
-make install
-rm -f /stage1/bin/{gunzip,zcat}
-ln -s gzip /stage1/bin/gunzip
-ln -s gzip /stage1/bin/zcat</userinput></screen></para>
+make install</userinput></screen></para>
 
 </sect2>