From b8a4093b5890aa774ae90bbf44515750aa0ae85c Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 1 Sep 2012 10:43:50 -0400
Subject: [PATCH] Fix broken link in installation.sgml.

Linking to other parts of the manual doesn't work when building the
standalone INSTALL document.
---
 doc/src/sgml/installation.sgml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index 2457fc5c58b..676d51673e2 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -2,7 +2,8 @@
 <!--
 
 Use </link> not just </> so INSTALL.html can be created without links
-to the main documentation.  Don't use <xref>.
+to the main documentation.  Don't use <xref>; or if you must, wrap it
+in a standalone-ignore clause.
 
 -->
 
@@ -283,9 +284,11 @@ su - postgres
 
     <listitem>
      <para>
-      To build the <productname>PostgreSQL</productname> documentation, 
-      there is a separate set of requirements.
-      See <xref linkend="docguide-toolsets">.
+      To build the <productname>PostgreSQL</productname> documentation,
+      there is a separate set of requirements; see
+      <![%standalone-ignore;[<xref linkend="docguide-toolsets">.]]>
+      <![%standalone-include;[the main documentation's appendix on
+      documentation.]]>
      </para>
     </listitem>
    </itemizedlist>
-- 
GitLab