aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy McMurchy <randy@linuxfromscratch.org>2008-10-11 14:39:34 +0000
committerRandy McMurchy <randy@linuxfromscratch.org>2008-10-11 14:39:34 +0000
commit3395f06d8b7abf3b3bd4883f3e0aa70bc957291c (patch)
tree02be1ab1fc7d51c03b68f29ab121c47a9fbee846
parent4106b83c4561e368bb58b3071346f8ae7c19bbee (diff)
Added commands to the Chapter 6 Flex instructions to install a .pdf doc file
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8631 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter06/flex.xml7
2 files changed, 11 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b0410d360..857e4d349 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -41,6 +41,10 @@
<para>2008-10-11</para>
<itemizedlist>
<listitem>
+ <para>[randy] - Added commands to the Chapter 6 Flex instructions
+ to install a .pdf doc file.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Added a parameter to the configure command in the
Automake instructions so that docs are installed in a versioned
directory.</para>
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index e7bad3340..94d8af1fd 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -80,6 +80,13 @@ exec /usr/bin/flex -l "$@"
EOF
chmod -v 755 /usr/bin/lex</userinput></screen>
+ <para>If desired, install the <filename>flex.pdf</filename> documentation
+ file:</para>
+
+<screen><userinput remap="install">mkdir -v /usr/share/doc/flex-&flex-version;
+cp -v doc/flex.pdf \
+ /usr/share/doc/flex-&flex-version;</userinput></screen>
+
</sect2>
<sect2 id="contents-flex" role="content">