summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-08 21:13:27 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-08 21:13:27 +0000
commit984b0b4df83f94f4bae74f9534b9d5298e2f338a (patch)
tree6ce99a35a4c63495c2cde41e52fe08afd2d55250 /doc/src
parentf38e4747a56a277224a63c6193b6febf0874f130 (diff)
Append "/postgresql" to (certain) installation subdirectories when
installing into a shared location. Also Makefile.global organizational cleanup.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/installation.sgml24
1 files changed, 23 insertions, 1 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index e637969f360..1cf60bf127b 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.22 2000/09/30 16:58:20 petere Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.23 2000/10/08 21:13:27 petere Exp $ -->
<chapter id="installation">
<title><![%flattext-install-include[<productname>PostgreSQL</> ]]>Installation Instructions</title>
@@ -398,7 +398,29 @@ su - postgres
</para>
</listitem>
</varlistentry>
+ </variablelist>
+
+ <note>
+ <para>
+ To reduce the pollution of shared installation locations (such
+ as <filename>/usr/local/include</filename>), the string
+ <quote><literal>/postgresql</literal></quote> is automatically
+ appended to <varname>datadir</varname>,
+ <varname>sysconfdir</varname>, <varname>includedir</varname>,
+ and <varname>docdir</varname>, unless the fully expanded
+ directory name already contains the string
+ <quote>postgres</quote> or <quote>pgsql</quote>. For example,
+ if you choose <filename>/usr/local</filename> as prefix, the C
+ header files will be installed in
+ <filename>/usr/local/include/postgresql</filename>, but if the
+ prefix is <filename>/opt/postgres</filename>, then they will be
+ in <filename>/opt/postgres/include</filename>.
+ </para>
+ </note>
+ </para>
+ <para>
+ <variablelist>
<varlistentry>
<term>--with-includes=<replaceable>DIRECTORIES</></term>
<listitem>