aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/file.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/file.xml')
-rw-r--r--chapter05/file.xml23
1 files changed, 11 insertions, 12 deletions
diff --git a/chapter05/file.xml b/chapter05/file.xml
index 9fcfd1e6f..5a821d180 100644
--- a/chapter05/file.xml
+++ b/chapter05/file.xml
@@ -45,29 +45,28 @@
<para>Prepare File for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
-
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --host=$LFS_TGT</userinput></screen>
+
+<!-- devs: if using - -build here, the build system wants to compile
+ the signature file with "file" on the build system, but stops if it is not
+ the same version. One possibility would be to build "file" on the build
+ system first, but it is simpler to have the system think it is not
+ cross-compiling, and use the just built "file". -->
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
- <para>Compilation is now complete. As discussed earlier, running the test
- suite is not mandatory for the temporary tools here in this chapter. To run
- the File test suite anyway, issue the following command:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
-
<para>Install the package:</para>
-<screen><userinput remap="install">make install</userinput></screen>
+<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
</sect2>
<sect2 role="content">
<title/>
-
- <para>Details on this package are located in
- <xref linkend="contents-file" role="."/></para>
+ <para>Details on this package are located in<!-- TODO
+ <xref linkend="contents-file" role="."/> --></para>
</sect2>