]> granicus.if.org Git - docbook-dsssl/commitdiff
Modified the write.stubs template so that the section directory name is not output...
authorMauritz Jeanson <mj@johanneberg.com>
Fri, 20 Aug 2010 18:22:06 +0000 (18:22 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Fri, 20 Aug 2010 18:22:06 +0000 (18:22 +0000)
Also ensured that $lang is added to the .so path (when man.output.lang.in.name.enabled=1).

xsl/manpages/other.xsl

index 37b75032c6a10eb677bcdfd6667a578dae606b3c..b38ebe2f9db6dad0c918eb83f071b3e3564022ca 100644 (file)
@@ -595,10 +595,11 @@ 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="concat('.so man', $section, '/')"/>
+            <xsl:value-of select="'.so '"/>
             <xsl:call-template name="make.adjusted.man.filename">
               <xsl:with-param name="name" select="$first.refname"/>
               <xsl:with-param name="section" select="$section"/>
+              <xsl:with-param name="lang" select="$lang"/>
             </xsl:call-template>
             <xsl:text>&#10;</xsl:text>
           </xsl:with-param>