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:
Pierre Labastie 2014-03-23 19:13:33 +00:00
parent ee2c45c751
commit 2ae5bbe4f0

View file

@ -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">