From 6f489dca65e97d92fb01ee6811ece4e215d186ca Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 29 Jan 2011 12:51:44 -0500
Subject: [PATCH] Make installation.sgml build standalone again.

We must not try to link to sections that aren't part of the standalone
"make INSTALL" build.  Corrects build failure introduced in commit
159e3d86292cfec2a2828f9f69ac7a6cb1be242d.
---
 doc/src/sgml/installation.sgml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index b64493c3463..7ab18aa2a4e 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -1007,7 +1007,9 @@ su - postgres
        <listitem>
         <para>
          Use the <ulink url="http://www.ossp.org/pkg/lib/uuid/">OSSP UUID
-         library</ulink> when building the <xref linkend="uuid-ossp">
+         library</ulink> when building the
+         <![%standalone-include[uuid-ossp]]>
+         <![%standalone-ignore[<xref linkend="uuid-ossp">]]>
          module.  The library provides functions to generate
          UUIDs.<indexterm><primary>UUID</primary></indexterm>
         </para>
@@ -1041,7 +1043,9 @@ su - postgres
        <term><option>--with-libxslt</option></term>
        <listitem>
         <para>
-         Use libxslt when building the <xref linkend="xml2">
+         Use libxslt when building the
+         <![%standalone-include[xml2]]>
+         <![%standalone-ignore[<xref linkend="xml2">]]>
          module.  <application>xml2</> relies on this library
          to perform XSL transformations of XML.
         </para>
-- 
GitLab