Changeset eabc205
- Timestamp:
- 12/27/2012 08:28:26 AM (12 years ago)
- Branches:
- ablfs
- Children:
- 6faeb63
- Parents:
- e51fab2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/gen_pkg_list.xsl
re51fab2 reabc205 152 152 <!-- First the case of python modules or d-bus bindings --> 153 153 <xsl:if test="self::sect2"> 154 <!-- Python modules have a building order which we have to indicate 155 as dependencies. The preceding module has to be the first 156 dependency. --> 154 <!-- dependencies --> 155 <xsl:apply-templates select=".//para[@role='required' or 156 @role='recommended' or 157 @role='optional']" 158 mode="dependency"/> 159 </xsl:if> 160 <!-- For python modules, the preceding module is an optional dep --> 157 161 <xsl:if test="ancestor::sect1[@id='python-modules']"> 158 162 <xsl:apply-templates … … 161 165 mode="prec-dep"/> 162 166 </xsl:if> 163 <!-- The other dependencies (for Python modules) or dependencies (for DBus) -->164 <xsl:apply-templates select=".//para[@role='required' or165 @role='recommended' or166 @role='optional']"167 mode="dependency"/>168 </xsl:if>169 167 <!-- Now the case of perl modules: let us test our XSLT abilities. 170 168 Well, "use the sibling, Luke" --> … … 278 276 </xsl:text> 279 277 <xsl:element name="dependency"> 280 <xsl:attribute name="status">required</xsl:attribute> 278 <!-- the dep on the preceding package used to be required for python. 279 It seems optional now --> 280 <xsl:attribute name="status">optional</xsl:attribute> 281 281 <xsl:attribute name="name"> 282 282 <xsl:value-of select="preceding-sibling::listitem[1]//@linkend"/>
Note:
See TracChangeset
for help on using the changeset viewer.