Commit 87c42029 authored by Andre Malo's avatar Andre Malo
Browse files

add style support for war and maf archive files

parent c02d8cb0
Loading
Loading
Loading
Loading
+2 −0
Changes for docs/manual/.cvsignore: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
_chm
_zip
_war
_maf
_tools
_dist
build
+40 −0
Changes for docs/manual/style/xsl/language.xsl: 40 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -159,6 +159,32 @@
    </target>
    &lf;

    <target name="war-all"
            description="- builds all war download packages">
        <xsl:attribute name="depends">
            <xsl:for-each select="lang[document(concat('../lang/', .,
                                       '.xml'))/language/messages]">
                <xsl:text>war-</xsl:text>
                <xsl:value-of select="." />
                <xsl:if test="position() != last()">, </xsl:if>
            </xsl:for-each>
        </xsl:attribute>
    </target>
    &lf;

    <target name="maf-all"
            description="- builds all maf download packages">
        <xsl:attribute name="depends">
            <xsl:for-each select="lang[document(concat('../lang/', .,
                                       '.xml'))/language/messages]">
                <xsl:text>maf-</xsl:text>
                <xsl:value-of select="." />
                <xsl:if test="position() != last()">, </xsl:if>
            </xsl:for-each>
        </xsl:attribute>
    </target>
    &lf;

    <!-- single language targets -->
    <!-- ======================= -->
    <xsl:for-each select="lang">
@@ -194,6 +220,20 @@
            </target>
            &lf;

            <target name="war-{.}"
                    description="- builds the {$file/name} Konqueror Web Archive">&lf;
                <xsl:text>    </xsl:text>
                <war.generic lang="{.}" />&lf;
            </target>
            &lf;

            <target name="maf-{.}"
                    description="- builds the {$file/name} Mozilla Web Archive">&lf;
                <xsl:text>    </xsl:text>
                <maf.generic lang="{.}" />&lf;
            </target>
            &lf;

            <xsl:if test="$file/chm">
                <target name="chm-{.}"
                        description="- builds the {$file/name} CHM file">&lf;