Treat the XML::Parser case for package management

This commit is contained in:
Pierre Labastie 2013-03-04 16:44:16 +00:00
parent 66c09d00a0
commit eed0929b01

View file

@ -142,18 +142,17 @@
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="sect2"> <xsl:template match="sect2">
<!--XML::Parser is on the same page as Perl. The present code is OK
except for PKG_DEST and PKGDIR, which would be the same as for Perl.
so set them to valid values.-->
<xsl:if test="contains(string(./title),'XML::Parser')">
<xsl:text>PKGDIR=$(dirname $PKGDIR)/</xsl:text>
<xsl:copy-of select="substring-after(.//userinput[@remap='pre'], 'cd ')"/>
<xsl:text>
PKG_DEST=$(dirname $PKGDIR)/000-xml-parser
</xsl:text>
</xsl:if>
<xsl:apply-templates <xsl:apply-templates
select=".//screen[not(@role) or select=".//screen[not(@role) or
@role != 'nodump']/userinput[ @role != 'nodump']/userinput[