]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
accept retirement parameter for external, when generating bootstrap files.
authorAndré Malo <nd@apache.org>
Sat, 1 Feb 2014 21:36:01 +0000 (21:36 +0000)
committerAndré Malo <nd@apache.org>
Sat, 1 Feb 2014 21:36:01 +0000 (21:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1563474 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/language.xsl

index 8ef0b4a0487fc7a9a999bf62abbec898745fbc8b..0a83b33bc9f2eafe25948bfc42ffa44f22519d83 100644 (file)
@@ -34,6 +34,7 @@
 
 <xsl:param name="type" />
 <xsl:param name="langs" />
+<xsl:param name="retired" />
 
 <!-- ==================================================================== -->
 <!-- /                                                                    -->
@@ -546,6 +547,21 @@ Some targets have additional requirements:
                 </xsl:choose>
             </xsl:attribute>
         </xsl:element>
+        &lf;
+
+        <xsl:element name="xsl:variable">
+            <xsl:attribute name="name">is-retired</xsl:attribute>
+            <xsl:attribute name="select">
+                <xsl:choose>
+                <xsl:when test="$retired = 'yes'">
+                    <xsl:text>true()</xsl:text>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:text>false()</xsl:text>
+                </xsl:otherwise>
+                </xsl:choose>
+            </xsl:attribute>
+        </xsl:element>
         &lf;&lf;
     </xsl:if>