This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] WEBSITE: patch to makefile-dep.xsl
- From: Janning Vygen <vygen at gmx dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 22 May 2003 15:55:22 +0200
- Subject: [docbook-apps] WEBSITE: patch to makefile-dep.xsl
- Organization: Planwerk 6 /websolutions
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org