stefano 2003/03/03 03:41:47
Modified: tools/src blocks-build.xsl
Log:
fixing build xsl accordingly to the new gump-friendly block names
Revision Changes Path
1.25 +5 -5 xml-cocoon2/tools/src/blocks-build.xsl
Index: blocks-build.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/tools/src/blocks-build.xsl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- blocks-build.xsl 27 Feb 2003 17:13:12 -0000 1.24
+++ blocks-build.xsl 3 Mar 2003 11:41:47 -0000 1.25
@@ -37,26 +37,26 @@
<xsl:template match="module">
<target name="compile">
- <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'-block')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-compile</xsl:for-each></xsl:attribute>
+ <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'cocoon-block-')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-compile</xsl:for-each></xsl:attribute>
</target>
<target name="patch">
- <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'-block')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-patch</xsl:for-each></xsl:attribute>
+ <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'cocoon-block-')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-patch</xsl:for-each></xsl:attribute>
</target>
<target name="samples">
- <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'-block')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-samples</xsl:for-each></xsl:attribute>
+ <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'cocoon-block-')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-samples</xsl:for-each></xsl:attribute>
</target>
<target name="lib">
- <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'-block')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-lib</xsl:for-each></xsl:attribute>
+ <xsl:attribute name="depends">init<xsl:for-each
select="project[contains(@name,'cocoon-block-')]"><xsl:text>,</xsl:text><xsl:value-of
select="@name"/>-lib</xsl:for-each></xsl:attribute>
</target>
<xsl:apply-templates select="project[contains(@name,'-block')]" />
</xsl:template>
<xsl:template match="project">
- <xsl:variable name="block-name" select="substring-before(@name,'-block')" />
+ <xsl:variable name="block-name"
select="substring-after(@name,'cocoon-block-')" />
<target name="[EMAIL PROTECTED]" unless="exclude.block.{$block-name}"/>