]> granicus.if.org Git - postgis/commitdiff
Added a Short Version section.
authorKevin Neufeld <kneufeld.ca@gmail.com>
Fri, 22 May 2009 22:14:46 +0000 (22:14 +0000)
committerKevin Neufeld <kneufeld.ca@gmail.com>
Fri, 22 May 2009 22:14:46 +0000 (22:14 +0000)
Updated requirements.

git-svn-id: http://svn.osgeo.org/postgis/trunk@4095 b70326c6-7e19-0410-871a-916f4a2858ee

doc/installation.xml.in

index 5a3f4e43ec8d4a47b89b5c4df605dd3fb37bfa4c..2fc274a8f2cedf0eac7e034c0e08558981ed3e2b 100644 (file)
@@ -2,6 +2,28 @@
 <chapter>
   <title>Installation</title>
 
+  <para>
+    This chapter details the steps required to install PostGIS.
+  </para>
+
+  <sect1>
+    <title>Short Version</title>
+
+    <programlisting>tar xvfz postgis-@@LAST_RELEASE_VERSION@@.tar.gz
+cd postgis-@@LAST_RELEASE_VERSION@@
+./configure
+make
+make install
+createlang plpgsql yourdatabase
+psql -d yourdatabase -f lwpostgis.sql
+psql -d yourdatabase -f spatial_ref_sys.sql</programlisting>
+
+    <para>
+      The rest of this chapter goes into detail each of the above installation
+      steps.
+    </para>
+  </sect1>
+
   <sect1>
     <title>Requirements</title>
 
       PostGIS has the following requirements for building and usage:
     </para>
 
+    <para>
+      <emphasis role="bold">Required</emphasis>
+    </para>
+
     <itemizedlist>
       <listitem>
         <para>
-          A complete installation of PostgreSQL (including server headers).
-          PostgreSQL is available from
+          PostgreSQL 8.1 or higher. A complete installation of PostgreSQL
+          (including server headers) is required. PostgreSQL is available from
           <ulink url="http://www.postgresql.org">
             http://www.postgresql.org
           </ulink>
-          . Version 8.1 or higher is required.
+          .
         </para>
       </listitem>
 
           .
         </para>
       </listitem>
+    </itemizedlist>
+
+    <para>
+      <emphasis role="bold">Optional</emphasis>
+    </para>
 
+    <itemizedlist>
       <listitem>
         <para>
-          (Recommended) Apache Ant (<filename>ant</filename>). Required for
-          building any of the drivers under the <filename>java</filename>
-          directory. Ant is available for download from
+          Apache Ant (<filename>ant</filename>) is required for building any of
+          the drivers under the <filename>java</filename> directory. Ant is
+          available from
           <ulink url="http://ant.apache.org">
             http://ant.apache.org
           </ulink>
           .
         </para>
       </listitem>
+
+      <listitem>
+        <para>
+          DocBook (<filename>xsltproc</filename>) is required for building the
+          documentation. Docbook is available from
+          <ulink url="http://www.docbook.org/">
+            http://www.docbook.org/
+          </ulink>
+          .
+        </para>
+      </listitem>
+
+      <listitem>
+        <para>
+          DBLatex (<filename>dblatex</filename>) is required for building the
+          documentation in PDF format. DBLatex is available from
+          <ulink url="http://dblatex.sourceforge.net/">
+            http://dblatex.sourceforge.net/
+          </ulink>
+          .
+        </para>
+      </listitem>
+
+      <listitem>
+        <para>
+          ImageMagick (<filename>convert</filename>) is required to generate the
+          images used in the documentation. ImageMagick is available from
+          <ulink url="http://www.imagemagick.org/">
+            http://www.imagemagick.org/
+          </ulink>
+          .
+        </para>
+      </listitem>
     </itemizedlist>
   </sect1>