summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2010-01-28 23:59:52 +0000
committerAndrew Dunstan <andrew@dunslane.net>2010-01-28 23:59:52 +0000
commit7523960d639a4e59af3afc93e32f6460883f6641 (patch)
treea57701a811efca00c3c6719734c8c7ffa5859179 /doc/src
parente7b3349a8ad7afaad565c573fbd65fb46af6abbe (diff)
Add new make targets "world", "install-world" and "installcheck-world" to build, install and check just about everything.
In addition to everything built installed and tested by all, install and installcheck targets, these build HTML Docs, build and test contrib, and test PLs and ECPG.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/contrib.sgml6
-rw-r--r--doc/src/sgml/installation.sgml23
2 files changed, 25 insertions, 4 deletions
diff --git a/doc/src/sgml/contrib.sgml b/doc/src/sgml/contrib.sgml
index 2895e6c170f..3ed2023b1b5 100644
--- a/doc/src/sgml/contrib.sgml
+++ b/doc/src/sgml/contrib.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/contrib.sgml,v 1.15 2009/11/18 21:57:56 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/contrib.sgml,v 1.16 2010/01/28 23:59:52 adunstan Exp $ -->
<appendix id="contrib">
<title>Additional Supplied Modules</title>
@@ -16,7 +16,9 @@
<para>
When building from the source distribution, these modules are not built
- automatically. You can build and install all of them by running:
+ automatically, unless you build the "world" target
+ (see <xref linkend="build">).
+ You can build and install all of them by running:
<screen>
<userinput>gmake</userinput>
<userinput>gmake install</userinput>
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index 23d120b8a32..003d172b01e 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.339 2010/01/22 22:50:03 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.340 2010/01/28 23:59:52 adunstan Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -1526,7 +1526,7 @@ su - postgres
</para>
</step>
- <step>
+ <step id="build">
<title>Build</title>
<para>
@@ -1541,6 +1541,18 @@ su - postgres
All of PostgreSQL is successfully made. Ready to install.
</screen>
</para>
+
+ <para>
+ If you want to build everything that can be built, including the HTML
+ documentation and the Additional Modules, type instead:
+<screen>
+<userinput>gmake world</userinput>
+</screen>
+ The last line displayed should be:
+<screen>
+PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
+</screen>
+ </para>
</step>
<step>
@@ -1595,6 +1607,13 @@ All of PostgreSQL is successfully made. Ready to install.
</para>
<para>
+ If you built the world above, type instead:
+<screen>
+<userinput>gmake install-world</userinput>
+</screen>
+ </para>
+
+ <para>
You can use <literal>gmake install-strip</literal> instead of
<literal>gmake install</literal> to strip the executable files and
libraries as they are installed. This will save some space. If