In BLFS tools: generate dependencies in book order for KDE

This commit is contained in:
Pierre Labastie 2012-04-15 08:27:58 +00:00
parent 0bd3836477
commit 115c75a753

View file

@ -204,8 +204,9 @@
<!-- Dependencies -->
<!-- If in Xorg chapter, consider that the preceding package is
the first dependency (not always noted in the book) -->
<xsl:if test="ancestor::chapter[@id='x-window-system'] and
preceding-sibling::sect1[@id != 'xorg7']">
<xsl:if test="ancestor::chapter[@id='kde4-core'] or
(ancestor::chapter[@id='x-window-system'] and
preceding-sibling::sect1[@id != 'xorg7'])">
<xsl:text>
</xsl:text>
<xsl:element name="dependency">