r5293 - trunk/BOOK/general/prog

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Nov 22 06:32:42 PST 2005


Author: randy
Date: 2005-11-22 07:32:41 -0700 (Tue, 22 Nov 2005)
New Revision: 5293

Modified:
   trunk/BOOK/general/prog/gc.xml
Log:
Changed hard-coded version to an entity in the GC instructions

Modified: trunk/BOOK/general/prog/gc.xml
===================================================================
--- trunk/BOOK/general/prog/gc.xml	2005-11-22 00:30:30 UTC (rev 5292)
+++ trunk/BOOK/general/prog/gc.xml	2005-11-22 14:32:41 UTC (rev 5293)
@@ -72,7 +72,7 @@
     <para>Install <application>GC</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i "s|\$(datadir)/@PACKAGE@|&-6.5|" doc/Makefile.in &&
+<screen><userinput>sed -i "s|\$(datadir)/@PACKAGE@|&-&gc-version;|" doc/Makefile.in &&
 ./configure --prefix=/usr \
     --datadir=/usr/share/doc --enable-cplusplus &&
 make</userinput></screen>
@@ -90,8 +90,8 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>sed -i "s|\$(datadir)/@PACKAGE@|&-6.5|" ...</command>:
-    This command appends <quote>-6.5</quote> to the default documentation
+    <para><command>sed -i "s|\$(datadir)/@PACKAGE@|&-&gc-version;|" ...</command>:
+    This command appends <quote>-&gc-version;</quote> to the default documentation
     installation path of
     <filename class='directory'>/usr/share/doc/gc</filename>.</para>
 




More information about the blfs-book mailing list