aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/flex.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/flex.xml')
-rw-r--r--chapter06/flex.xml15
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 &gt; /usr/bin/lex &lt;&lt; "EOF"
+<screen><userinput remap="install">cat &gt; /usr/bin/lex &lt;&lt; "EOF"
<literal>#!/bin/sh
# Begin /usr/bin/lex