diff options
Diffstat (limited to 'chapter05/tar.xml')
-rw-r--r-- | chapter05/tar.xml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/chapter05/tar.xml b/chapter05/tar.xml index 002dc228f..26f676121 100644 --- a/chapter05/tar.xml +++ b/chapter05/tar.xml @@ -45,21 +45,18 @@ <para>Prepare Tar for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr \ + --host=$LFS_TGT \ + --build=$(build-aux/config.guess) \ + --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 Tar 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> |