]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed problem with lang values not getting added to filenames as
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 19 Jun 2007 11:55:36 +0000 (11:55 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 19 Jun 2007 11:55:36 +0000 (11:55 +0000)
expected for all cases. Closes #1674564. Thanks to Daniel Leidert
for reporting.

xsl/manpages/utility.xsl

index d0878f136710fdb8b51f01a181dff42c0f2fbecc..8fe7e5d67d620e3b7b43bf1cb339e7a8a9082be5 100644 (file)
     <xsl:param name="name.with.lang">
       <xsl:choose>
         <xsl:when test="not($man.output.lang.in.name.enabled = 0)
-                        and ($man.output.subdirs.enabled = 0)">
+          and ($man.output.subdirs.enabled = 0 or
+          $man.output.in.separate.dir = 0)">
           <!-- * user has specified man.output.lang.in.name.enabled -->
-          <!-- * AND doesn't want output going into separate manN dirs, -->
+          <!-- * AND doesn't want output going into separate dirs, -->
           <!-- * so we include the $lang value in the filename; e.g., -->
           <!-- * foo.ja.1 -->
           <xsl:value-of select="concat($name, '.', $lang)"/>