summaryrefslogtreecommitdiff
path: root/Build/tools/scheme2list.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/tools/scheme2list.xsl')
-rw-r--r--Build/tools/scheme2list.xsl83
1 files changed, 0 insertions, 83 deletions
diff --git a/Build/tools/scheme2list.xsl b/Build/tools/scheme2list.xsl
deleted file mode 100644
index f024cd67fb5..00000000000
--- a/Build/tools/scheme2list.xsl
+++ /dev/null
@@ -1,83 +0,0 @@
-<!-- $Id$
- Written by Sebastian Rahtz. Public domain. -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:exsl="http://exslt.org/common"
- exclude-result-prefixes="exsl"
- extension-element-prefixes="exsl"
- xmlns:TPM="http://texlive.dante.de/"
- version="1.0">
-
-<xsl:output method="text" omit-xml-declaration="yes"/>
-
-<xsl:strip-space elements="*"/>
-
-<!-- assume the current directory is Master, as Tools/update arranges. -->
-<xsl:param name="ROOT">.</xsl:param>
-
-<xsl:variable name="Master">
- <xsl:value-of select="$ROOT"/>/texmf/lists/</xsl:variable>
-<xsl:variable name="TPM">
- <xsl:value-of select="$ROOT"/>/texmf/tpm/</xsl:variable>
-<xsl:variable name="COL">texmf/tpm/</xsl:variable>
-<xsl:variable name="LISTS">texmf/lists/</xsl:variable>
-
-<xsl:template match="/">
- <!-- <xsl:message>Write <xsl:value-of select="concat($Master,.//TPM:Name)"/>.scheme</xsl:message>-->
- <exsl:document href="{concat($Master,//TPM:Name)}.scheme" method="text">
-<xsl:text>*Title: </xsl:text>
- <xsl:value-of select="normalize-space(.//TPM:Title)"/>
-<xsl:text>&#10;</xsl:text>
-<xsl:text>*Size: </xsl:text>
-<xsl:value-of select=".//TPM:Size"/>
- <xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:Requires"/>
- <xsl:apply-templates select=".//TPM:DocFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:SourceFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:RunFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:BinFiles"/>
- <xsl:text>&#10;</xsl:text>
- <xsl:value-of select="$LISTS"/>
- <xsl:value-of select=".//TPM:Name"/>
- <xsl:text>.scheme&#10;</xsl:text>
- </exsl:document>
-</xsl:template>
-
-<xsl:template match="TPM:DocFiles|TPM:SourceFiles|TPM:RunFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-<xsl:template match="TPM:BinFiles">
- <!-- <xsl:message>Write <xsl:value-of
- select="concat($Master,//TPM:Name)"/>
- <xsl:text>.vlist.</xsl:text>
- <xsl:value-of select="@arch"/></xsl:message>
--->
- <exsl:document method="text" href="{$Master}{//TPM:Name}.vlist.{@arch}">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-<xsl:value-of select="concat($LISTS,//TPM:Name)"/>
- <xsl:text>.vlist.</xsl:text>
- <xsl:value-of select="@arch"/>
-<xsl:text>&#10;</xsl:text>
-</exsl:document>
-</xsl:template>
-
-<xsl:template match="TPM:Requires">
-<xsl:for-each select="TPM:Package">
-<xsl:sort select="normalize-space(@name)"/>
-<xsl:text>+</xsl:text>
-<xsl:value-of select="translate(normalize-space(@name),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-</xsl:for-each>
-<xsl:for-each select="TPM:TLCore">
-<xsl:sort select="normalize-space(@name)"/>
-<xsl:text>-</xsl:text>
-<xsl:value-of select="translate(normalize-space(@name),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-</xsl:for-each>
-</xsl:template>
-
-
-</xsl:stylesheet>