Changeset 91b7b5f


Ignore:
Timestamp:
08/09/2017 02:15:27 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
607ef21
Parents:
b8aa7ed
Message:

Output a linear book for LFS, with BLFS format

Location:
BLFS/xsl
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/make_book.xsl

    rb8aa7ed r91b7b5f  
    88  <xsl:param name="list" select="''"/>
    99  <xsl:param name="MTA" select="'sendmail'"/>
     10  <xsl:param name="lfsbook" select="'lfs-full.xml'"/>
    1011
    1112<!-- Check whether the book is sysv or systemd -->
     
    2526    encoding="ISO-8859-1"
    2627    doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
     28
     29  <xsl:include href="lfs_make_book.xsl"/>
    2730
    2831  <xsl:template match="/">
     
    8184        </xsl:when>
    8285        <xsl:otherwise>
     86          <xsl:variable name="is-lfs">
     87            <xsl:call-template name="detect-lfs">
     88              <xsl:with-param name="package" select="$list"/>
     89              <xsl:with-param name="lfsbook" select="$lfsbook"/>
     90            </xsl:call-template>
     91          </xsl:variable>
    8392          <xsl:choose>
     93            <xsl:when test="$is-lfs='true'">
     94              <xsl:message>
     95                <xsl:value-of select="$list"/>
     96                <xsl:text> is an lfs package</xsl:text>
     97              </xsl:message>
     98              <xsl:call-template name="process-lfs">
     99                <xsl:with-param name="package" select="$list"/>
     100                <xsl:with-param name="lfsbook" select="$lfsbook"/>
     101              </xsl:call-template>
     102            </xsl:when>
    84103            <xsl:when test="not(id($list)[self::sect1 or self::sect2 or self::para or self::bridgehead])">
    85104              <xsl:apply-templates
Note: See TracChangeset for help on using the changeset viewer.