Avoid self dependencies in BLFS tool. This may happen if a dev references
the package being built in the references paragraph.
This commit is contained in:
parent
ee2c45c751
commit
2ae5bbe4f0
1 changed files with 3 additions and 0 deletions
|
@ -248,6 +248,9 @@
|
|||
<!-- No ulink for now (see special case for Perl modules) -->
|
||||
<xsl:for-each select="./xref">
|
||||
<xsl:choose>
|
||||
<!-- Avoid depending of myself -->
|
||||
<xsl:when test="ancestor::*[@id=current()/@linkend]"/>
|
||||
<!-- Call list expansion when we have an xorg7 series of packages -->
|
||||
<xsl:when test="contains(@linkend,'xorg7-')">
|
||||
<xsl:call-template name="expand-deps">
|
||||
<xsl:with-param name="section">
|
||||
|
|
Reference in a new issue