summaryrefslogtreecommitdiff
path: root/docbook-xsl-mandir.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:39:52 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:39:52 +0000
commit4d4512e6c85da2a469e8bac803d9091c21eda7e4 (patch)
tree32d2c356c8fca3ddda4b9ac5db4eba46d32c7504 /docbook-xsl-mandir.patch
parentbaf0cacf0a22fdd51579e20f6bd95c5538a39532 (diff)
automatic import of docbook-style-xslopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'docbook-xsl-mandir.patch')
-rw-r--r--docbook-xsl-mandir.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/docbook-xsl-mandir.patch b/docbook-xsl-mandir.patch
new file mode 100644
index 0000000..2e06b22
--- /dev/null
+++ b/docbook-xsl-mandir.patch
@@ -0,0 +1,19 @@
+diff -urNp docbook-xsl-1.76.1-orig/manpages/other.xsl docbook-xsl-1.76.1/manpages/other.xsl
+--- docbook-xsl-1.76.1-orig/manpages/other.xsl 2010-08-27 05:14:52.000000000 +0200
++++ docbook-xsl-1.76.1/manpages/other.xsl 2011-09-06 17:17:07.973737258 +0200
+@@ -595,7 +595,14 @@ manvolnum
+ <xsl:with-param name="message-prolog">Note: </xsl:with-param>
+ <xsl:with-param name="message-epilog"> (soelim stub)</xsl:with-param>
+ <xsl:with-param name="content">
+- <xsl:value-of select="'.so '"/>
++ <xsl:choose>
++ <xsl:when test="$man.output.in.separate.dir = 0">
++ <xsl:value-of select="concat('.so man', $section, '/')"/>
++ </xsl:when>
++ <xsl:otherwise>
++ <xsl:value-of select="'.so '"/> <!-- added case -->
++ </xsl:otherwise>
++ </xsl:choose>
+ <xsl:variable name="full.filename">
+ <xsl:call-template name="make.adjusted.man.filename">
+ <xsl:with-param name="name" select="$first.refname"/>