diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-05-01 23:50:49 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-05-02 01:15:26 +0200 |
commit | c4493c22f129b2c94f361e6f8657adc7cd2dc1c6 (patch) | |
tree | 3b35bc937609b778184c4ba1cfbe52ab025f5637 /docs-xml/xslt | |
parent | 86a968b0980011ed307b81fbc0734ba618d64c90 (diff) | |
download | samba-c4493c22f129b2c94f361e6f8657adc7cd2dc1c6.tar.gz samba-c4493c22f129b2c94f361e6f8657adc7cd2dc1c6.tar.bz2 samba-c4493c22f129b2c94f361e6f8657adc7cd2dc1c6.zip |
Remove XSLT script to generate image dependencies, instead rely on make
given that the number of image formats we use is limited.
Diffstat (limited to 'docs-xml/xslt')
-rw-r--r-- | docs-xml/xslt/generate-dependencies.xsl | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/docs-xml/xslt/generate-dependencies.xsl b/docs-xml/xslt/generate-dependencies.xsl deleted file mode 100644 index 2fe3dd0dc9..0000000000 --- a/docs-xml/xslt/generate-dependencies.xsl +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version='1.0'?> -<!-- - Find the image dependencies of a certain XML file - Generates (part of) a Makefile - - - $(FNAME)-images-latex-{png,eps,pdf} for role=latex - - $(FNAME)-images-role for all other roles - - (C) Jelmer Vernooij 2004-2005 - - Published under the GNU GPLv3 or later ---> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"> - <xsl:output method="text"/> - - <xsl:template match="/"> - <xsl:for-each select="//mediaobject/imageobject[@role and not(@role=following::imageobject/@role)]"> - <xsl:call-template name="generate-images"> - <xsl:with-param name="role"><xsl:value-of select="@role"/></xsl:with-param> - </xsl:call-template> - </xsl:for-each> - <xsl:call-template name="generate-images"> - <xsl:with-param name="role"/> - </xsl:call-template> - </xsl:template> - - <xsl:template name="generate-images"> - <xsl:param name="role"/> - <xsl:value-of select="$target"/><xsl:text>-images-</xsl:text><xsl:value-of select="$role"/><xsl:text> = </xsl:text> - <xsl:for-each select="//mediaobject/imageobject[@role=$role]"> - <xsl:value-of select="imagedata/@fileref"/> - <xsl:text> </xsl:text> - </xsl:for-each> - <xsl:text> </xsl:text> - </xsl:template> -</xsl:stylesheet> |