Changeset 82bd7a6


Ignore:
Timestamp:
11/18/2015 10:54:13 AM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
39da010
Parents:
7dc8595
Message:

Adjustements for non-versioned packages:

  • allows xorg-env to be a dependency although it is a sect2 id
  • remove the ban on xorg-env in dependencies.xsl
  • directly call the template mode="normal" for modules, since there are no special cases in this case.
  • treat all sect1 s, even if they do not have a xreflabel.
Location:
BLFS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen-special.sh

    r7dc8595 r82bd7a6  
    7979      </package><xsl:text>&#xA;</xsl:text>
    8080    </xsl:when>
    81 <!-- Although versioned, this page is not a package -->
    82     <xsl:when test="@id='xorg7'"/>
     81<!-- Although versioned, this page is not a package. But
     82     the sect2 with id "xorg-env" is referred to at several
     83     places in the book. We have added it to the list of non
     84     versioned packages. -->
     85    <xsl:when test="@id='xorg7'">
     86      <xsl:apply-templates select="child::sect2" mode="special"/>
     87    </xsl:when>
    8388EOF
    8489
  • BLFS/xsl/dependencies.xsl

    r7dc8595 r82bd7a6  
    5656    <xsl:variable name="depname">
    5757      <xsl:choose>
    58         <xsl:when test="@name='xorg-env'"/>
    5958        <xsl:when test="@name='x-window-system'">xinit</xsl:when>
    6059        <xsl:when test="@name='xorg7'">xinit</xsl:when>
  • BLFS/xsl/gen_pkg_list.xsl

    r7dc8595 r82bd7a6  
    6565        </xsl:element>
    6666        <xsl:text>&#xA;</xsl:text>
    67         <xsl:apply-templates select=".//sect1[@xreflabel]">
     67        <xsl:apply-templates select=".//sect1">
    6868          <xsl:sort select="@id"/>
    6969        </xsl:apply-templates>
     
    9393            </xsl:element>
    9494          <xsl:text>&#xA;</xsl:text>
    95 <!-- Do not use .//*, which would include self.
    96      Calls the template of specialCases.xsl,
    97      which calls the "normal" template when the
    98      case is normal. -->
     95<!-- Do not use .//*, which would include self. -->
    9996          <xsl:apply-templates
    10097            select="descendant::node()[contains(translate(@xreflabel,
     
    103100                                                '-0')   
    104101                                      ]"
    105             mode="special">
     102            mode="normal">
    106103            <xsl:sort select="@id"/>
    107104          </xsl:apply-templates>
Note: See TracChangeset for help on using the changeset viewer.