[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: WEBSITE: patch to makefile-dep.xsl
Hi, i use a lot of XInclude building websites with WEBSITE DTD because common text elements are reused. To get the Makefile rebuild my pages if something has changed inside the included files i modified makefile-dep.xsl in the website xsl distribution Of course you have to use '--xinclude' command line option in your Makefile to use this modification. Maybe my modification is of any use for someone (maybe even for the distributuion) kind regards, janning Website version: 2.4.1 (website-2.4.1.tar.gz) diff makefile-dep.xsl /home/janning/xsl/makefile-dep.xsl 39a40 > <xsl:call-template name="check-includes"/> 54a56 > <xsl:call-template name="check-includes"/> 123a126,140 > <xsl:template name="check-includes"> > <xsl:if test="document(@page)//@xml:base"> > <xsl:value-of select="@page"/> > <xsl:text>: </xsl:text> > <xsl:for-each select="document(@page)//@xml:base"> > <xsl:value-of select="."/> > <xsl:text> </xsl:text> > </xsl:for-each> > <xsl:text> </xsl:text> > <xsl:text>	</xsl:text> > <xsl:text>touch </xsl:text> > <xsl:value-of select="@page"/> > <xsl:text> </xsl:text> > </xsl:if> > </xsl:template>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]