diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2007-09-18 21:11:00 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2007-09-18 21:11:00 +0000 |
commit | 0445a3d50660d84f11d095db0177078f4f5cd8a0 (patch) | |
tree | 0a498ecf0a0714891f5c4576bc508558268283a8 /chapter06/flex.xml | |
parent | a7a02386b4c83ed74790c1918c80f1fffc3af472 (diff) |
Added remap attributes to userinput tags in packages pages.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/flex.xml')
-rw-r--r-- | chapter06/flex.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 5d047f95e..c5942ff18 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -43,25 +43,26 @@ <para>Prepare Flex for compilation:</para> -<screen><userinput>./configure --prefix=/usr</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> <para>Compile the package:</para> -<screen><userinput>make</userinput></screen> +<screen><userinput remap="make">make</userinput></screen> - <para>To test the results, issue: - <userinput>make check</userinput>.</para> + <para>To test the results, issue:</para> + +<screen><userinput remap="test">make check</userinput></screen> <para>Install the package:</para> -<screen><userinput>make install</userinput></screen> +<screen><userinput remap="install">make install</userinput></screen> <para>There are some packages that expect to find the <filename class="libraryfile">lex</filename> library in <filename class="directory">/usr/lib</filename>. Create a symlink to account for this:</para> -<screen><userinput>ln -sv libfl.a /usr/lib/libl.a</userinput></screen> +<screen><userinput remap="install">ln -sv libfl.a /usr/lib/libl.a</userinput></screen> <para>A few programs do not know about <command>flex</command> yet and try to run its predecessor, <command>lex</command>. To support those @@ -69,7 +70,7 @@ calls <filename>flex</filename> in <command>lex</command> emulation mode:</para> -<screen><userinput>cat > /usr/bin/lex << "EOF" +<screen><userinput remap="install">cat > /usr/bin/lex << "EOF" <literal>#!/bin/sh # Begin /usr/bin/lex |