@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.301 2008/02/16 21:51:04 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.302 2008/02/17 16:36:43 petere Exp $ -->
<chapter id="installation">
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@ -589,23 +589,11 @@ su - postgres
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><option>--datadir=<replaceable>DIRECTORY</></option></term>
<listitem>
<para>
Sets the directory for read-only data files used by the
installed programs. The default is
<filename><replaceable>PREFIX</>/share</>. Note that this has
nothing to do with where your database files will be placed.
</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term><option>--sysconfdir=<replaceable>DIRECTORY</></option></term>
<term><option>--sysconfdir=<replaceable>DIRECTORY</></option></term>
<listitem>
<listitem>
<para>
<para>
T he directory for various configuration files,
Sets the directory for various configuration files,
<filename><replaceable>PREFIX</>/etc</> by default.
<filename><replaceable>PREFIX</>/etc</> by default.
</para>
</para>
</listitem>
</listitem>
@ -615,7 +603,7 @@ su - postgres
<term><option>--libdir=<replaceable>DIRECTORY</></option></term>
<term><option>--libdir=<replaceable>DIRECTORY</></option></term>
<listitem>
<listitem>
<para>
<para>
T he location to install libraries and dynamically loadable
Sets t he location to install libraries and dynamically loadable
modules. The default is
modules. The default is
<filename><replaceable>EXEC-PREFIX</>/lib</>.
<filename><replaceable>EXEC-PREFIX</>/lib</>.
</para>
</para>
@ -626,12 +614,47 @@ su - postgres
<term><option>--includedir=<replaceable>DIRECTORY</></option></term>
<term><option>--includedir=<replaceable>DIRECTORY</></option></term>
<listitem>
<listitem>
<para>
<para>
T he directory for installing C and C++ header files. The
Sets t he directory for installing C and C++ header files. The
default is <filename><replaceable>PREFIX</>/include</>.
default is <filename><replaceable>PREFIX</>/include</>.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><option>--datarootdir=<replaceable>DIRECTORY</></option></term>
<listitem>
<para>
Sets the root directory for various types of read-only data
files. This only sets the default for some of the following
options. The default is
<filename><replaceable>PREFIX</>/share</>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--datadir=<replaceable>DIRECTORY</></option></term>
<listitem>
<para>
Sets the directory for read-only data files used by the
installed programs. The default is
<filename><replaceable>DATAROOTDIR</></>. Note that this has
nothing to do with where your database files will be placed.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--localedir=<replaceable>DIRECTORY</></option></term>
<listitem>
<para>
Sets the directory for installing locale data, in particular
message translation catalog files. The default is
<filename><replaceable>DATAROOTDIR</>/locale</>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term><option>--mandir=<replaceable>DIRECTORY</></option></term>
<term><option>--mandir=<replaceable>DIRECTORY</></option></term>
<listitem>
<listitem>
@ -639,23 +662,31 @@ su - postgres
The man pages that come with <productname>PostgreSQL</> will be installed under
The man pages that come with <productname>PostgreSQL</> will be installed under
this directory, in their respective
this directory, in their respective
<filename>man<replaceable>x</></> subdirectories.
<filename>man<replaceable>x</></> subdirectories.
The default is <filename><replaceable>PREFIX</>/man</>.
The default is <filename><replaceable>DATAROOTDIR</>/man</>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--docdir=<replaceable>DIRECTORY</></option></term>
<listitem>
<para>
Sets the root directory for installing documentation files,
except <quote>man</> pages. This only sets the default for
the following options. The default value for this option is
<filename><replaceable>DATAROOTDIR</>/doc/postgresql</>.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><option>--with-docdir=<replaceable>DIRECTORY</></option></term>
<term><option>--htmldir=<replaceable>DIRECTORY</></option></term>
<term><option>--without-docdir</option></term>
<listitem>
<listitem>
<para>
<para>
Documentation files, except <quote>man</> pages, will be
The HTML-formatted documentation for
installed into this directory. The default is
<productname>PostgreSQL</productname> will be installed under
<filename><replaceable>PREFIX</>/doc</>. If the option
this directory. The default is
<option>--without-docdir</option> is specified, the
<filename><replaceable>DATAROOTDIR</></>.
documentation will not be installed by <command>make
install</command>. This is intended for packaging scripts
that have special methods for installing documentation.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>