summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2023-04-19 04:59:52 +0000
committerMichael Paquier2023-04-19 04:59:52 +0000
commitdea4343535f9122c66f71944ed593b84e338b174 (patch)
tree20f6ac29531566fde828d10bc545eba139bc7a2f
parent3f58a4e2960a9509036b7d94beab64a747dc59dc (diff)
Fix generation of distribution tarball
This issue can be reproduced by running `make dist` from the root of the tree. Error introduced in fcb21b3, where additions of links in installation.sgml require custom rules in standalone-profile.xsl to make sure that ./INSTALL is generated correctly for the distribution tarball, where links are replaced by equivalent terms from the profile file changed by this commit. Per buildfarm member guaibasaurus. Discussion: https://postgr.es/m/[email protected]
-rw-r--r--doc/src/sgml/standalone-profile.xsl8
1 files changed, 8 insertions, 0 deletions
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>