Changeset 56dd1e2


Ignore:
Timestamp:
10/02/2005 02:28:31 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
133ecac
Parents:
24530379
Message:

Using PKGDIR in all chapters.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dump-lfs-scripts.xsl

    r24530379 r56dd1e2  
    4545      <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    4646        <xsl:text>#!/bin/sh&#xA;&#xA;</xsl:text>
    47         <xsl:if test="(sect2[@role='installation'] or
    48             @id='ch-tools-adjusting') and
    49             ancestor::chapter[@id='chapter-temporary-tools']">
     47        <xsl:if test="sect2[@role='installation'] or
     48                @id='ch-tools-adjusting' or
     49                @id='ch-system-readjusting'">
    5050          <xsl:text>cd $PKGDIR &amp;&amp;&#xA;</xsl:text>
    5151        </xsl:if>
     
    6262          <xsl:apply-templates select="userinput" mode="screen"/>
    6363          <xsl:if test="position() != last() and
    64               not(contains(string(),'EOF')) and
    65               not(contains(string(),'check')) and
    66               not(ancestor::sect1[@id='ch-tools-stripping'])">
     64                  not(contains(string(),'EOF')) and
     65                  not(contains(string(),'check')) and
     66                  not(ancestor::sect1[@id='ch-tools-stripping'])">
    6767            <xsl:text> &amp;&amp;</xsl:text>
    6868          </xsl:if>
     
    7474
    7575  <xsl:template match="para/userinput">
    76     <xsl:if test="$testsuite != '0' and (contains(string(),'test') or
    77         contains(string(),'check'))">
     76    <xsl:if test="$testsuite != '0' and
     77            (contains(string(),'test') or
     78            contains(string(),'check'))">
    7879      <xsl:value-of select="substring-before(string(),'make')"/>
    7980      <xsl:text>make -k</xsl:text>
  • jhalfs

    r24530379 r56dd1e2  
    159159  if [ -z $LFSVRS ] ; then LFSVRS=development ; fi
    160160
    161   # Set the book's soures directory
     161  # Set the book's sources directory
    162162  if [ -z $BOOK ] ; then BOOK=lfs-$LFSVRS ; fi
    163163
     
    461461      echo -e "\t\$(call unpack,$FILE)" >> $MKFILE.tmp
    462462      echo -e "\t-ROOT=\`head -n1 /tmp/unpacked | sed 's@/.*@@'\` && \\" >> $MKFILE.tmp
    463       echo -e "\tcd \$(SRC)/\$\$ROOT && \\" >> $MKFILE.tmp
     463      echo -e "\techo \"PKGDIR=\$(SRC)/\$\$ROOT\" > envars && \\" >> $MKFILE.tmp
     464      echo -e "\techo \"export PKGDIR\" >> envars && \\" >> $MKFILE.tmp
    464465    fi
    465466
     
    469470    # For the Re-Adjusting phase we must to cd to the binutils-build directory.
    470471    if [ "$i" = "067-readjusting" ] ; then
    471       echo -e "\tcd \$(SRC)/binutils-build && \\" >> $MKFILE.tmp
     472      echo -e "\techo \"PKGDIR=\$(SRC)/binutils-build\" > envars && \\" >> $MKFILE.tmp
     473      echo -e "\techo \"export PKGDIR\" >> envars && \\" >> $MKFILE.tmp
    472474    fi
    473475
Note: See TracChangeset for help on using the changeset viewer.