26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
|
From: Michael Biebl <biebl@debian.org>
|
||
|
Date: Wed, 7 Sep 2016 01:37:47 +0200
|
||
|
Subject: Fix bad .so links in man pages
|
||
|
|
||
|
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=%23727251
|
||
|
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831831
|
||
|
|
||
|
--- manpages/other.xsl
|
||
|
+++ manpages/other.xsl
|
||
|
@@ -558,7 +558,14 @@
|
||
|
<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"/>
|