Author: randy
Date: 2010-11-08 19:16:04 -0700 (Mon, 08 Nov 2010)
New Revision: 8675

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/libatomic_ops.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Modified the libatomic_ops instructions so that the documentation is installed 
in a versioned directory by default

Modified: trunk/BOOK/general/genlib/libatomic_ops.xml
===================================================================
--- trunk/BOOK/general/genlib/libatomic_ops.xml 2010-11-08 15:08:06 UTC (rev 
8674)
+++ trunk/BOOK/general/genlib/libatomic_ops.xml 2010-11-09 02:16:04 UTC (rev 
8675)
@@ -69,18 +69,28 @@
     <para>Install <application>libatomic_ops</application> by running the 
following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &amp;&amp;
+<screen><userinput>sed -i \
+    's|datadir)/@PACKAGE@|datadir)/doc/@PACKAGE@/@PACKAGE_VERSION@|' \
+    doc/Makefile.in &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
 make</userinput></screen>
 
     <para>To check the results, issue <command>make check</command>.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
 
-<screen role="root"><userinput>make install &amp;&amp;
-mv -v /usr/share/libatomic_ops 
/usr/share/doc/libatomic_ops-1.2</userinput></screen>
+<screen role="root"><userinput>make install</userinput></screen>
 
   </sect2>
 
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><command>sed -i ... doc/Makefile.in</command>: This command forces
+    the documentation to be installed in a versioned directory.</para>
+
+  </sect2>
+
   <sect2 role="content">
     <title>Contents</title>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2010-11-08 15:08:06 UTC (rev 8674)
+++ trunk/BOOK/general.ent      2010-11-09 02:16:04 UTC (rev 8675)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "08">                   <!-- Always 2 digits -->
+<!ENTITY day          "09">                   <!-- Always 2 digits -->
 <!ENTITY month        "11">                   <!-- Always 2 digits -->
 <!ENTITY year         "2010">
 <!ENTITY copyrightdate "2001-&year;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2010-11-08 15:08:06 UTC 
(rev 8674)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2010-11-09 02:16:04 UTC 
(rev 8675)
@@ -42,6 +42,16 @@
 -->
 
     <listitem>
+      <para>November 9th, 2010</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Modified the libatomic_ops instructions so that the
+          documentation is installed in a versioned directory.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>November 8th, 2010</para>
       <itemizedlist>
         <listitem>

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to