diff options
Diffstat (limited to 'chapter05/m4.xml')
-rw-r--r-- | chapter05/m4.xml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/chapter05/m4.xml b/chapter05/m4.xml index 0dcc6b774..3f51c11d1 100644 --- a/chapter05/m4.xml +++ b/chapter05/m4.xml @@ -50,27 +50,22 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h</userinput></screen> <para>Prepare M4 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)</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 M4 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-m4" role="."/></para> |