Author: pierre
Date: Tue Aug 22 01:59:04 2017
New Revision: 4003
Log:
Avoid parsing a bridgehead which is not a perl-module
Modified:
jhalfs/trunk/BLFS/xsl/make_book.xsl
Modified: jhalfs/trunk/BLFS/xsl/make_book.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/make_book.xsl Mon Aug 21 09:19:26 2017 (r4002)
+++ jhalfs/trunk/BLFS/xsl/make_book.xsl Tue Aug 22 01:59:04 2017 (r4003)
@@ -250,6 +250,7 @@
<!-- Perl modules : transform them to minimal sect1. Use a template
for installation instructions -->
<xsl:template match="bridgehead">
+ <xsl:if test="ancestor::sect1[@id='perl-modules']">
<xsl:element name="sect1">
<xsl:attribute name="id"><xsl:value-of select="./@id"/></xsl:attribute>
<xsl:attribute name="xreflabel"><xsl:value-of
select="./@xreflabel"/></xsl:attribute>
@@ -287,6 +288,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:element>
+ </xsl:if>
</xsl:template>
<!-- The case of depdendencies of perl modules. Same treatment
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page