source: BLFS/xsl/list_lfs.xsl@ 1bf09c1

ablfs-more trunk
Last change on this file since 1bf09c1 was 42dfc6e, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Implementation of dependency checking 3

Add an XSL stylesheet for listing packages in LFS. Those are
not listed anywhere else, but they are considered dependencies of
everything, so should never be erased.

  • Property mode set to 100644
File size: 574 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 version="1.0">
5
6 <xsl:output method="text"/>
7
8 <xsl:template match="/">
9 <xsl:text>bootscripts </xsl:text>
10 <xsl:text>lfs-bootscripts </xsl:text>
11 <xsl:text>kernel </xsl:text>
12 <xsl:apply-templates select=".//chapter[@id='chapter-building-system']/sect1/sect1info/productname"/>
13 </xsl:template>
14
15 <xsl:template match="productname">
16 <xsl:copy-of select="text()"/>
17 <xsl:text> </xsl:text>
18 </xsl:template>
19
20</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.