[postgis-commits] svn - r2879 - trunk/doc

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Wed Jul 23 09:40:08 PDT 2008


Author: kneufeld
Date: 2008-07-23 09:40:07 -0700 (Wed, 23 Jul 2008)
New Revision: 2879

Modified:
   trunk/doc/installation.xml
   trunk/doc/postgis.xml
Log:
changed @@LAST_RELEASE_VERSION@@ with a DocBook variable so the correct version number gets substituted in all included files, not just postgis.xml

Modified: trunk/doc/installation.xml
===================================================================
--- trunk/doc/installation.xml	2008-07-23 12:03:03 UTC (rev 2878)
+++ trunk/doc/installation.xml	2008-07-23 16:40:07 UTC (rev 2879)
@@ -52,12 +52,12 @@
     <title>PostGIS</title>
 
     <para>The PostGIS module is a extension to the PostgreSQL backend server.
-    As such, PostGIS @@LAST_RELEASE_VERSION@@ <emphasis>requires</emphasis>
+    As such, PostGIS &last_release_version; <emphasis>requires</emphasis>
     full PostgreSQL server headers access in order to compile. The PostgreSQL
     source code is available at <ulink
     url="http://www.postgresql.org">http://www.postgresql.org</ulink>.</para>
 
-    <para>PostGIS @@LAST_RELEASE_VERSION@@ can be built against PostgreSQL
+    <para>PostGIS &last_release_version; can be built against PostgreSQL
     versions 7.2.0 or higher. Earlier versions of PostgreSQL are
     <emphasis>not</emphasis> supported.</para>
 
@@ -81,14 +81,14 @@
 
       <listitem>
         <para>Retrieve the PostGIS source archive from <ulink
-        url="http://postgis.refractions.net/postgis-@@LAST_RELEASE_VERSION@@.tar.gz">http://postgis.refractions.net/postgis-@@LAST_RELEASE_VERSION@@.tar.gz</ulink>.
+        url="http://postgis.refractions.net/postgis-&last_release_version;.tar.gz">http://postgis.refractions.net/postgis-&last_release_version;.tar.gz</ulink>.
         Uncompress and untar the archive.</para>
 
-        <programlisting># gzip -d -c postgis-@@LAST_RELEASE_VERSION@@.tar.gz | tar xvf -</programlisting>
+        <programlisting># gzip -d -c postgis-&last_release_version;.tar.gz | tar xvf -</programlisting>
       </listitem>
 
       <listitem>
-        <para>Enter the postgis-@@LAST_RELEASE_VERSION@@ directory, and run:
+        <para>Enter the postgis-&last_release_version; directory, and run:
         <programlisting># ./configure</programlisting></para>
 
         <itemizedlist>
@@ -380,7 +380,7 @@
     <para>The data loader and dumper are built and installed automatically as
     part of the PostGIS build. To build and install them manually:</para>
 
-    <programlisting># cd postgis-@@LAST_RELEASE_VERSION@@/loader 
+    <programlisting># cd postgis-&last_release_version;/loader 
 # make 
 # make install</programlisting>
 

Modified: trunk/doc/postgis.xml
===================================================================
--- trunk/doc/postgis.xml	2008-07-23 12:03:03 UTC (rev 2878)
+++ trunk/doc/postgis.xml	2008-07-23 16:40:07 UTC (rev 2879)
@@ -2,6 +2,7 @@
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
 
+<!ENTITY last_release_version "@@LAST_RELEASE_VERSION@@">
 <!ENTITY introduction SYSTEM "introduction.xml">
 <!ENTITY installation SYSTEM "installation.xml">
 <!ENTITY faq SYSTEM "faq.xml">
@@ -14,7 +15,7 @@
 
 ]>
 <book>
-  <title>PostGIS @@LAST_RELEASE_VERSION@@ Manual</title>
+  <title>PostGIS &last_release_version; Manual</title>
 
   <bookinfo>
     <editor>
@@ -39,7 +40,7 @@
       GiST-based R-Tree spatial indexes, and functions for analysis and
       processing of GIS objects.</para>
 
-      <para>This is the manual for version @@LAST_RELEASE_VERSION@@</para>
+      <para>This is the manual for version &last_release_version;</para>
     </abstract>
   </bookinfo>
 



More information about the postgis-commits mailing list