On Tue, Apr 18, 2023 at 08:36:45PM +0000, Jeff Davis wrote:
> Build ICU support by default.

As guaibasaurus is telling, this broke the generation of the
distribution tarball:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2023-04-19%2000%3A20%3A03

The problem is easy to reproduce: just run "make dist" from the top of
the tree.  The fix is a bit more tricky, straight-forward once you
know that ./INSTALL is generated from the contents of
installation.sgml (learnt that the hard way), and is similar to
45aa88f where you should add a few extra rules to
standalone-profile.xsl to replace the links by some text.  I guess 
that you could just replace both references with "the documentation"
in this case, as the terms are specified in the paragraphs generated
in the ./INSTALL, like the attached.

Do you mind if I apply the attached to fix the issue?
--
Michael
diff --git a/doc/src/sgml/standalone-profile.xsl b/doc/src/sgml/standalone-profile.xsl
index ea8a8f1728..1b3938a638 100644
--- a/doc/src/sgml/standalone-profile.xsl
+++ b/doc/src/sgml/standalone-profile.xsl
@@ -40,6 +40,10 @@ variant without links and references to the main documentation.
   <xsl:text>the documentation about client authentication and libpq</xsl:text>
 </xsl:template>
 
+<xsl:template match="xref[@linkend='collation']">
+  <xsl:text>the documentation</xsl:text>
+</xsl:template>
+
 <xsl:template match="xref[@linkend='docguide-toolsets']">
   <xsl:text>the main documentation's appendix on documentation</xsl:text>
 </xsl:template>
@@ -60,6 +64,10 @@ variant without links and references to the main documentation.
   <xsl:text>the documentation</xsl:text>
 </xsl:template>
 
+<xsl:template match="xref[@linkend='locale-providers']">
+  <xsl:text>the documentation</xsl:text>
+</xsl:template>
+
 <xsl:template match="xref[@linkend='plpython-python23']">
   <xsl:text>the </xsl:text><application>PL/Python</application><xsl:text> documentation</xsl:text>
 </xsl:template>

Attachment: signature.asc
Description: PGP signature

Reply via email to