aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Heerdink <gimli@linuxfromscratch.org>2002-01-15 18:43:06 +0000
committerMarc Heerdink <gimli@linuxfromscratch.org>2002-01-15 18:43:06 +0000
commit4023fcbbd25dac230754eccac243dff1260a4c51 (patch)
tree50c4842fab0e26edb781f89c6909d7f8be54e12c
parentd8fd804890d55908d65ae98b13ccf4ac85db95a4 (diff)
[200] The installation instructions for file were changed for using touch to avoid the sed command.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1433 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter06/file-exp.xml8
-rw-r--r--chapter06/file-inst.xml3
-rw-r--r--index.xml4
4 files changed, 11 insertions, 7 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 69547064f..27a933894 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -6,6 +6,9 @@
<itemizedlist>
+<listitem><para>January 15th, 2002 [marcheerdink]: Chapter 6 - file: changed
+the installation instruction so the sed isn't nessecary anymore.</para></listitem>
+
<listitem><para>January 14th, 2002 [marcheerdink]: Changed the kernel header
files installation in chapter 5 so it's a bit more portable.</para></listitem>
diff --git a/chapter06/file-exp.xml b/chapter06/file-exp.xml
index 3e6043c89..b2a69083c 100644
--- a/chapter06/file-exp.xml
+++ b/chapter06/file-exp.xml
@@ -1,9 +1,11 @@
<sect2>
<title>Command explanations</title>
-<para><userinput>sed $'/#define __/a \\\n#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h :</userinput> This
-sed fixes an error which occurs when compiling file-3.36 with
-automake-1.5 installed.</para>
+<para><userinput>touch aclocal.m4 configure Makefile.in stamp-h.in</userinput>:
+This command works around an error which occurs when compiling file with
+automake-1.5 installed by changing the modification dates of some files to
+the current date. Changing the date will cause make to think the files are
+already up-to-date so they're not recreated.</para>
</sect2>
diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml
index 01c4284f2..130bca387 100644
--- a/chapter06/file-inst.xml
+++ b/chapter06/file-inst.xml
@@ -3,8 +3,7 @@
<para>Install File by running the following commands:</para>
-<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;
-sed $'/#define __/a \\\n#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;
+<para><screen><userinput>touch aclocal.m4 configure Makefile.in stamp-h.in &amp;&amp;
./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
diff --git a/index.xml b/index.xml
index a4c5b9023..f1334d90c 100644
--- a/index.xml
+++ b/index.xml
@@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml">
-<!ENTITY version "20020114">
-<!ENTITY releasedate "January 14th, 2002">
+<!ENTITY version "20020115">
+<!ENTITY releasedate "January 15th, 2002">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org">