changed @@LAST_RELEASE_VERSION@@ with a DocBook variable so the correct version number gets substituted in all included files, not just postgis.xml

git-svn-id: http://svn.osgeo.org/postgis/trunk@2879 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Kevin Neufeld 2008-07-23 16:40:07 +00:00
parent 16d6ae7cc8
commit cae0fd66e7
2 changed files with 9 additions and 8 deletions

View file

@ -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 @@ newdb=&gt; \i spatial_ref_sys.sql</programlisting>
<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>

View file

@ -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>