Module: sip-router
Branch: sr_3.0
Commit: 18f07d77b1fc5bdfd0ecbc75669b8f16fee12a77
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18f07d7…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Mar 10 10:42:15 2010 +0100
docbook: fix rm'ed files mentioned in .d build error
When some .xml include file is deleted or removed, but the .d
already exists, the build will fail trying to build the apparently
missing file, requiring a make proper.
This fix enclosed the prerequisites in $(wildcard ...), when
generating the .d file.
(cherry picked from commit 111a87fef0868021d6585d32b879bac6cb07b310)
---
docbook/dep.xsl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/docbook/dep.xsl b/docbook/dep.xsl
index 0415f96..f65480d 100644
--- a/docbook/dep.xsl
+++ b/docbook/dep.xsl
@@ -8,8 +8,9 @@
<xsl:template match="/">
<xsl:document href="{$output}" method="text"
indent="no"
omit-xml-declaration="yes">
- <xsl:value-of select="concat($output, ': ')"/>
+ <xsl:value-of select="concat($output, ':$(wildcard ')"/>
<xsl:apply-templates mode="subroot"/>
+ <xsl:text>)
</xsl:text>
</xsl:document>
</xsl:template>