- Timestamp:
- 04/06/2006 07:35:22 PM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- a241c33
- Parents:
- a0ed344
- Location:
- LFS
- Files:
-
- 2 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
ra0ed344 r877cc6a 4 4 %general-entities; 5 5 ]> 6 7 <!-- $Id$ --> 6 8 7 9 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 21 23 <!-- Install vim-lang package? --> 22 24 <xsl:param name="vim-lang" select="1"/> 25 26 <!-- Time zone --> 27 <xsl:param name="timezone" select="America/Toronto"/> 28 29 <!-- Page size --> 30 <xsl:param name="page" select="letter"/> 31 32 <!-- Locale settings --> 33 <xsl:param name="lang" select="en_CA"/> 23 34 24 35 <xsl:template match="/"> … … 122 133 <xsl:text>
</xsl:text> 123 134 </xsl:when> 135 <!-- Setting $LANG for /etc/profile --> 136 <xsl:when test="ancestor::sect1[@id='ch-scripts-profile'] and 137 contains(string(),'export LANG=')"> 138 <xsl:value-of select="substring-before(string(),'export LANG=')"/> 139 <xsl:text>export LANG=</xsl:text> 140 <xsl:value-of select="$lang"/> 141 <xsl:value-of select="substring-after(string(),'modifiers]')"/> 142 <xsl:text>
</xsl:text> 143 </xsl:when> 124 144 <!-- Copying the kernel config file --> 125 145 <xsl:when test="string() = 'make mrproper'"> … … 182 202 <xsl:choose> 183 203 <xsl:when test="ancestor::sect1[@id='ch-system-glibc']"> 184 <xsl: text>$TIMEZONE</xsl:text>204 <xsl:value-of select="$timezone"/> 185 205 </xsl:when> 186 206 <xsl:when test="ancestor::sect1[@id='ch-system-groff']"> 187 <xsl: text>$PAGE</xsl:text>207 <xsl:value-of select="$page"/> 188 208 </xsl:when> 189 209 <xsl:otherwise>
Note:
See TracChangeset
for help on using the changeset viewer.