Removed now uneeded files due new download code.
This commit is contained in:
parent
6ca2943ee9
commit
90ba00e77a
5 changed files with 2 additions and 83 deletions
|
@ -57,7 +57,7 @@ BOOK=
|
|||
# Don't edit it unless you know what you are doing
|
||||
|
||||
#--- Extra files that need be copied to $JHALFSDIR
|
||||
FILES="patcheslist.xsl packageslist.xsl"
|
||||
FILES=""
|
||||
|
||||
#--- Default stylesheet
|
||||
XSL=clfs.xsl
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version='1.0' encoding='ISO-8859-1'?>
|
||||
|
||||
<!--$Id$ -->
|
||||
<!-- Get list of packages from the CLFS Book -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0">
|
||||
|
||||
<xsl:output method="text"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="//ulink"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="ulink">
|
||||
<!-- Packages. If some package don't have the string ".tar." in their
|
||||
name, the next test must be fixed to match it also. Skip possible
|
||||
duplicated URLs due that may be splitted for PDF output -->
|
||||
<xsl:if test="(contains(@url, '.tar.') or contains(@url, '.tgz'))
|
||||
and not(ancestor-or-self::*/@condition = 'pdf')">
|
||||
<xsl:value-of select="@url"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
|
@ -1,25 +0,0 @@
|
|||
<?xml version='1.0' encoding='ISO-8859-1'?>
|
||||
|
||||
<!--$Id$ -->
|
||||
<!-- Get list of patches from the CLFS Book -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0">
|
||||
|
||||
<xsl:output method="text"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates select="//ulink"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="ulink">
|
||||
<!-- Patches. Match only the patches and skip possible duplicated
|
||||
URLs due that may be splitted for PDF output-->
|
||||
<xsl:if test="contains(@url, '.patch')
|
||||
and not(ancestor-or-self::*/@condition = 'pdf')">
|
||||
<xsl:value-of select="@url"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
|
@ -27,7 +27,7 @@ BOOK=
|
|||
# Don't edit it unless you know what you are doing
|
||||
|
||||
#--- Extra files that need be copied to $JHALFSDIR
|
||||
FILES="patcheslist.xsl"
|
||||
FILES=""
|
||||
|
||||
#--- Default stylesheet
|
||||
XSL=hlfs.xsl
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version='1.0' encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- $Id$ -->
|
||||
<!-- Get list of patches from the HLFS Book -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0">
|
||||
|
||||
<xsl:output method="text"/>
|
||||
|
||||
<!-- What libc implentation must be used? -->
|
||||
<xsl:param name="model" select="glibc"/>
|
||||
|
||||
<!-- No text needed -->
|
||||
<xsl:template match="//text()">
|
||||
<xsl:text/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Just grab the url from the patches.xml file. Skip possible
|
||||
duplicated URLs due that may be splitted for PDF output -->
|
||||
<xsl:template match="//ulink">
|
||||
<xsl:if test="(ancestor::varlistentry[@condition=$model]
|
||||
or not(ancestor::varlistentry[@condition]))
|
||||
and not(ancestor-or-self::*/@condition = 'pdf')">
|
||||
<xsl:value-of select="@url"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
Reference in a new issue