aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/grep.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/grep.xml')
-rw-r--r--chapter05/grep.xml12
1 files changed, 4 insertions, 8 deletions
diff --git a/chapter05/grep.xml b/chapter05/grep.xml
index 2be213b6f..bac311f2f 100644
--- a/chapter05/grep.xml
+++ b/chapter05/grep.xml
@@ -45,21 +45,17 @@
<para>Prepare Grep for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --host=$LFS_TGT \
+ --bindir=/bin</userinput></screen>
<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 Grep 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>