Changeset 586feb7 in clfs-sysroot for BOOK/final-system


Ignore:
Timestamp:
Jul 2, 2006, 12:45:15 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
940e6b3
Parents:
89c10a9
Message:

Updated the bootscripts package and make LFS to CLFS updates.

Location:
BOOK/final-system
Files:
49 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/arm/perl.xml

    r89c10a9 r586feb7  
    4646    xpointer="xpointer(//*[@os='c'])"/>
    4747
    48 <screen os="d"><userinput>make ARCH=arm CROSS_COMPILE="${LFS_TARGET}-"</userinput></screen>
     48<screen os="d"><userinput>make ARCH=arm CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen>
    4949
    5050    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/common/autoconf.xml

    r89c10a9 r586feb7  
    2828    <para os="a">Prepare Autoconf for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <para os="c">Compile the package:</para>
     
    3636    <para os="e">Install the package:</para>
    3737
    38 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     38<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    3939
    4040  </sect2>
  • BOOK/final-system/common/automake.xml

    r89c10a9 r586feb7  
    2828    <para os="a">Prepare Automake for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <para os="c">Compile the package:</para>
     
    3636    <para os="e">Install the package:</para>
    3737
    38 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     38<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    3939
    4040  </sect2>
  • BOOK/final-system/common/bash.xml

    r89c10a9 r586feb7  
    4747
    4848<screen os="f"><userinput>./configure --prefix=/usr --bindir=/bin \
    49     --host=${LFS_TARGET} --cache-file=config.cache \
     49    --host=${CLFS_TARGET} --cache-file=config.cache \
    5050    --without-bash-malloc --with-installed-readline</userinput></screen>
    5151
     
    7070    <para os="j">Install the package:</para>
    7171
    72 <screen os="k"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     72<screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    7373
    7474    <para os="l">Create /bin/sh:</para>
    7575
    76 <screen os="m" role="nodump"><userinput>ln -sv bash ${LFS}/bin/sh</userinput></screen>
     76<screen os="m" role="nodump"><userinput>ln -sv bash ${CLFS}/bin/sh</userinput></screen>
    7777
    7878  </sect2>
  • BOOK/final-system/common/binutils.xml

    r89c10a9 r586feb7  
    4040
    4141<screen os="d"><userinput>../binutils-&binutils-version;/configure --prefix=/usr \
    42     --build=${LFS_HOST} --host=${LFS_TARGET} \
    43     --target=${LFS_TARGET} --enable-shared</userinput></screen>
     42    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     43    --target=${CLFS_TARGET} --enable-shared</userinput></screen>
    4444
    4545    <para os="e">Compile the package:</para>
     
    7676    <para os="j">Install the package:</para>
    7777
    78 <screen os="k"><userinput>make DESTDIR=${LFS} tooldir=/usr install</userinput></screen>
     78<screen os="k"><userinput>make DESTDIR=${CLFS} tooldir=/usr install</userinput></screen>
    7979
    8080    <para os="l">Install the <filename class="headerfile">libiberty</filename> header
    8181    file that is needed by some packages:</para>
    8282
    83 <screen os="m"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${LFS}/usr/include</userinput></screen>
     83<screen os="m"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/usr/include</userinput></screen>
    8484
    8585  </sect2>
  • BOOK/final-system/common/bison.xml

    r89c10a9 r586feb7  
    2727    <para os="a">Prepare Bison for compilation:</para>
    2828
    29 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     29<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3030
    3131    <para os="b1">The configure system causes bison to be built without support
     
    4242    <para os="e">Install the package:</para>
    4343
    44 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     44<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4545
    4646  </sect2>
  • BOOK/final-system/common/bzip2.xml

    r89c10a9 r586feb7  
    6868    <note os="f">
    6969    <para>If reinstalling Bzip2, perform
    70     <userinput>rm -vf ${LFS}/usr/bin/bz*</userinput> first, otherwise the
    71     following <command>make PREFIX=${LFS}/usr install</command> will fail.</para>
     70    <userinput>rm -vf ${CLFS}/usr/bin/bz*</userinput> first, otherwise the
     71    following <command>make PREFIX=${CLFS}/usr install</command> will fail.</para>
    7272    </note>
    7373
    7474    <para os="g">Install the programs:</para>
    7575
    76 <screen os="h"><userinput>make PREFIX=${LFS}/usr install</userinput></screen>
     76<screen os="h"><userinput>make PREFIX=${CLFS}/usr install</userinput></screen>
    7777
    7878    <para os="i">Install the shared <command>bzip2</command> binary into the
     
    8080    some necessary symbolic links, and clean up:</para>
    8181
    82 <screen os="j"><userinput>cp -v bzip2-shared ${LFS}/bin/bzip2
    83 cp -av libbz2.so* ${LFS}/lib
    84 ln -sv ../../lib/libbz2.so.1.0 ${LFS}/usr/lib/libbz2.so
    85 rm -v ${LFS}/usr/bin/{bunzip2,bzcat,bzip2}
    86 ln -sv bzip2 ${LFS}/bin/bunzip2
    87 ln -sv bzip2 ${LFS}/bin/bzcatt</userinput></screen>
     82<screen os="j"><userinput>cp -v bzip2-shared ${CLFS}/bin/bzip2
     83cp -av libbz2.so* ${CLFS}/lib
     84ln -sv ../../lib/libbz2.so.1.0 ${CLFS}/usr/lib/libbz2.so
     85rm -v ${CLFS}/usr/bin/{bunzip2,bzcat,bzip2}
     86ln -sv bzip2 ${CLFS}/bin/bunzip2
     87ln -sv bzip2 ${CLFS}/bin/bzcatt</userinput></screen>
    8888
    8989  </sect2>
  • BOOK/final-system/common/coreutils.xml

    r89c10a9 r586feb7  
    4040
    4141<screen os="d"><userinput>./configure --prefix=/usr --cache-file=config.cache \
    42    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     42   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    4343
    4444    <para os="e">Compile the package:</para>
     
    4848    <para os="g">Install the package:</para>
    4949
    50 <screen os="h"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     50<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5151
    5252    <para os="i">Move programs to the locations specified by the FHS:</para>
    5353
    54 <screen os="j"><userinput>mv -v ${LFS}/usr/bin/{[,basename,cat,chgrp,chmod,chown,cp} ${LFS}/bin
    55 mv -v ${LFS}/usr/bin/{date,dd,df,echo,false,hostname,install,ln} ${LFS}/bin
    56 mv -v ${LFS}/usr/bin/{ls,mkdir,mknod,mv,nice,pwd,readlink,rm,rmdir,sync} ${LFS}/bin
    57 mv -v ${LFS}/usr/bin/{stty,test,touch,true,uname} ${LFS}/bin
    58 mv -v ${LFS}/usr/bin/chroot ${LFS}/usr/sbin
    59 ln -svf ../../bin/install ${LFS}/usr/bin</userinput></screen>
    60 
    61     <para os="k">Some of the scripts in the LFS-Bootscripts package depend on
    62     <command>head</command> and <command>sleep</command>. As <filename
     54<screen os="j"><userinput>mv -v ${CLFS}/usr/bin/{cat,chgrp,chmod,chown,cp,date} ${CLFS}/bin
     55mv -v ${CLFS}/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} ${CLFS}/bin
     56mv -v ${CLFS}/usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin
     57mv -v ${CLFS}/usr/bin/chroot ${CLFS}/usr/sbin</userinput></screen>
     58
     59    <para os="k">Other Coreutils programs are used by some of the scripts
     60    in the CLFS-Bootscripts pacakge. As <filename
    6361    class="directory">/usr</filename> may not be available during the early
    6462    stages of booting, those binaries need to be on the root partition:</para>
    6563
    66 <screen os="l"><userinput>mv -v ${LFS}/usr/bin/{head,sleep} ${LFS}/bin</userinput></screen>
     64<screen os="l"><userinput>mv -v ${CLFS}/usr/bin/{[,basename,head,install,nice} ${CLFS}/bin
     65mv -v ${CLFS}/usr/bin/{readlink,sleep,sync,test,touch} ${CLFS}/bin
     66ln -svf ../../bin/install ${CLFS}/usr/bin</userinput></screen>
    6767
    6868  </sect2>
  • BOOK/final-system/common/diffutils.xml

    r89c10a9 r586feb7  
    2828    <para os="a">Prepare Diffutils for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <para os="c">Compile the package:</para>
     
    3636    <para os="e">Install the package:</para>
    3737
    38 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     38<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    3939
    4040  </sect2>
  • BOOK/final-system/common/e2fsprogs.xml

    r89c10a9 r586feb7  
    3838<screen os="d"><userinput>../configure --prefix=/usr --with-root-prefix="" \
    3939    --enable-elf-shlibs --disable-evms \
    40     --host=${LFS_TARGET}</userinput></screen>
     40    --host=${CLFS_TARGET}</userinput></screen>
    4141
    4242    <variablelist os="e">
     
    8585    <para os="h">Install the binaries and documentation:</para>
    8686
    87 <screen os="i"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     87<screen os="i"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    8888
    8989    <para os="j">Install the shared libraries:</para>
    9090
    91 <screen os="k"><userinput>make DESTDIR=${LFS} install-libs</userinput></screen>
     91<screen os="k"><userinput>make DESTDIR=${CLFS} install-libs</userinput></screen>
    9292
    9393  </sect2>
  • BOOK/final-system/common/file.xml

    r89c10a9 r586feb7  
    2828    <para os="a">Prepare File for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <para os="c">Compile the package:</para>
     
    3636    <para os="e">Install the package:</para>
    3737
    38 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     38<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    3939
    4040  </sect2>
  • BOOK/final-system/common/findutils.xml

    r89c10a9 r586feb7  
    3030    <para os="a">Prepare Findutils for compilation:</para>
    3131
    32 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET} \
     32<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \
    3333    --libexecdir=/usr/lib/locate --localstatedir=/var/lib/locate</userinput></screen>
    3434
     
    5353    <para os="f">Install the package:</para>
    5454
    55 <screen os="g"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     55<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5656
    5757  </sect2>
  • BOOK/final-system/common/flex.xml

    r89c10a9 r586feb7  
    3333    <para os="c">Prepare Flex for compilation:</para>
    3434
    35 <screen os="d"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     35<screen os="d"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3636
    3737    <para os="e">Compile the package:</para>
     
    4141    <para os="g">Install the package:</para>
    4242
    43 <screen os="h"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     43<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4444
    4545    <para os="i">There are some packages that expect to find the
     
    4848    this:</para>
    4949
    50 <screen os="j"><userinput>ln -sv libfl.a ${LFS}/usr/lib/libl.a</userinput></screen>
     50<screen os="j"><userinput>ln -sv libfl.a ${CLFS}/usr/lib/libl.a</userinput></screen>
    5151
    5252    <para os="k">A few programs do not know about <command>flex</command> yet and
     
    5656    mode:</para>
    5757
    58 <screen os="l"><userinput>cat &gt; ${LFS}/usr/bin/lex &lt;&lt; "EOF"
     58<screen os="l"><userinput>cat &gt; ${CLFS}/usr/bin/lex &lt;&lt; "EOF"
    5959<literal>#!/bin/sh
    6060# Begin /usr/bin/lex
     
    6464# End /usr/bin/lex</literal>
    6565EOF
    66 chmod -v 755 ${LFS}/usr/bin/lex</userinput></screen>
     66chmod -v 755 ${CLFS}/usr/bin/lex</userinput></screen>
    6767
    6868  </sect2>
  • BOOK/final-system/common/gawk.xml

    r89c10a9 r586feb7  
    3434
    3535<screen os="d"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib \
    36     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     36    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3737
    3838    <para os="e">Compile the package:</para>
     
    4242    <para os="g">Install the package:</para>
    4343
    44 <screen os="h"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     44<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4545
    4646  </sect2>
  • BOOK/final-system/common/gcc.xml

    r89c10a9 r586feb7  
    6262
    6363<screen os="f"><userinput>../gcc-&gcc-version;/configure --prefix=/usr --libexecdir=/usr/lib \
    64     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     64    --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    6565    --enable-shared --enable-threads=posix --enable-__cxa_atexit \
    6666    --enable-c99 --enable-long-long --enable-clocale=gnu \
     
    7373    <para os="i">Install the package:</para>
    7474
    75 <screen os="j"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     75<screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    7676
    7777    <para os="k">Some packages expect the C preprocessor to be installed in the
     
    7979    To support those packages, create this symlink:</para>
    8080
    81 <screen os="l"><userinput>ln -sv ../usr/bin/cpp ${LFS}/lib</userinput></screen>
     81<screen os="l"><userinput>ln -sv ../usr/bin/cpp ${CLFS}/lib</userinput></screen>
    8282
    8383    <para os="m">Many packages use the name <command>cc</command> to call the C
    8484    compiler. To satisfy those packages, create a symlink:</para>
    8585
    86 <screen os="o"><userinput>ln -sv gcc ${LFS}/usr/bin/cc</userinput></screen>
     86<screen os="o"><userinput>ln -sv gcc ${CLFS}/usr/bin/cc</userinput></screen>
    8787
    8888  </sect2>
  • BOOK/final-system/common/gettext.xml

    r89c10a9 r586feb7  
    3030    <para os="a">Prepare Gettext for compilation:</para>
    3131
    32 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     32<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3333
    3434    <para os="c">Compile the package:</para>
     
    3838    <para os="e">Install the package:</para>
    3939
    40 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     40<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4141
    4242  </sect2>
     
    5454        msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq,
    5555        ngettext, and xgettext</seg>
    56         <seg>libasprintf.[a,so], libgettextlib,so, libgettextpo.[a,so], and
    57         libgettextsrc,so</seg>
     56        <seg>libasprintf.[a,so], libgettextlib.so, libgettextpo.[a,so], and
     57        libgettextsrc.so</seg>
    5858      </seglistitem>
    5959    </segmentedlist>
  • BOOK/final-system/common/grep.xml

    r89c10a9 r586feb7  
    2929
    3030<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
    31     --host=${LFS_TARGET} --disable-perl-regexp</userinput></screen>
     31    --host=${CLFS_TARGET} --disable-perl-regexp</userinput></screen>
    3232
    3333    <para os="c">Compile the package:</para>
     
    3737    <para os="e">Install the package:</para>
    3838
    39 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4040
    4141  </sect2>
  • BOOK/final-system/common/groff.xml

    r89c10a9 r586feb7  
    3333    <para os="b">Prepare Groff for compilation:</para>
    3434
    35 <screen os="c"><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     35<screen os="c"><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3636
    3737    <para os="d">Compile the package:</para>
     
    4141    <para os="f">Install the package:</para>
    4242
    43 <screen os="g"><userinput>make prefix=${LFS}/usr install</userinput></screen>
     43<screen os="g"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
    4444
    4545    <para os="h">Some documentation programs, such as <command>xman</command>,
    4646    will not work properly without the following symlinks:</para>
    4747
    48 <screen os="i"><userinput>ln -sv soelim ${LFS}/usr/bin/zsoelim
    49 ln -sv eqn ${LFS}/usr/bin/geqn
    50 ln -sv tbl ${LFS}/usr/bin/gtbl</userinput></screen>
     48<screen os="i"><userinput>ln -sv soelim ${CLFS}/usr/bin/zsoelim
     49ln -sv eqn ${CLFS}/usr/bin/geqn
     50ln -sv tbl ${CLFS}/usr/bin/gtbl</userinput></screen>
    5151
    5252  </sect2>
  • BOOK/final-system/common/gzip.xml

    r89c10a9 r586feb7  
    3535    <para os="a">Prepare Gzip for compilation:</para>
    3636
    37 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     37<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3838
    3939    <para os="c">The <command>gzexe</command> script has the location of the
     
    5252    <para os="g">Install the package:</para>
    5353
    54 <screen os="h"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     54<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5555
    5656    <para os="i">Move the <command>gzip</command> program to the <filename
     
    5858    used symlinks to it:</para>
    5959
    60 <screen os="j"><userinput>mv -v ${LFS}/usr/bin/gzip ${LFS}/bin
    61 rm -v ${LFS}/usr/bin/{gunzip,zcat}
    62 ln -sv gzip ${LFS}/bin/gunzip
    63 ln -sv gzip ${LFS}/bin/zcat
    64 ln -sv gzip ${LFS}/bin/compress
    65 ln -sv gunzip ${LFS}/bin/uncompress</userinput></screen>
     60<screen os="j"><userinput>mv -v ${CLFS}/usr/bin/gzip ${CLFS}/bin
     61rm -v ${CLFS}/usr/bin/{gunzip,zcat}
     62ln -sv gzip ${CLFS}/bin/gunzip
     63ln -sv gzip ${CLFS}/bin/zcat
     64ln -sv gzip ${CLFS}/bin/compress
     65ln -sv gunzip ${CLFS}/bin/uncompress</userinput></screen>
    6666
    6767  </sect2>
  • BOOK/final-system/common/iana-etc.xml

    r89c10a9 r586feb7  
    3434    <para os="c">Install the package:</para>
    3535
    36 <screen os="d"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     36<screen os="d"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    3737
    3838  </sect2>
  • BOOK/final-system/common/inetutils.xml

    r89c10a9 r586feb7  
    4545    <para os="a">Prepare Inetutils for compilation:</para>
    4646
    47 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET} \
     47<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \
    4848    --libexecdir=/usr/sbin --sysconfdir=/etc \
    4949    --localstatedir=/var --disable-logger \
     
    102102    <para os="f">Install the package:</para>
    103103
    104 <screen os="g"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     104<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    105105
    106106    <para os="h">Move the <command>ping</command> program to its FHS-compliant
    107107    place:</para>
    108108
    109 <screen os="i"><userinput>mv -v ${LFS}/usr/bin/ping ${LFS}/bin</userinput></screen>
     109<screen os="i"><userinput>mv -v ${CLFS}/usr/bin/ping ${CLFS}/bin</userinput></screen>
    110110
    111111  </sect2>
  • BOOK/final-system/common/iproute2.xml

    r89c10a9 r586feb7  
    6666    <para os="e">Install the package:</para>
    6767
    68 <screen os="f"><userinput>make DESTDIR=${LFS} SBINDIR=/sbin install</userinput></screen>
     68<screen os="f"><userinput>make DESTDIR=${CLFS} SBINDIR=/sbin install</userinput></screen>
    6969
    7070  </sect2>
  • BOOK/final-system/common/kbd.xml

    r89c10a9 r586feb7  
    5252    <para os="e">Install the package:</para>
    5353
    54 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     54<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5555
    5656  </sect2>
  • BOOK/final-system/common/less.xml

    r89c10a9 r586feb7  
    2828
    2929<screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc \
    30     --host=${LFS_TARGET}</userinput></screen>
     30    --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <variablelist os="c">
     
    4949    <para os="f">Install the package:</para>
    5050
    51 <screen os="g"><userinput>make prefix=${LFS}/usr install</userinput></screen>
     51<screen os="g"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
    5252
    5353    <para os="h">Move less to /bin:</para>
    5454
    55 <screen os="i"><userinput>mv -v ${LFS}/usr/bin/less ${LFS}/bin</userinput></screen>
     55<screen os="i"><userinput>mv -v ${CLFS}/usr/bin/less ${CLFS}/bin</userinput></screen>
    5656
    5757  </sect2>
  • BOOK/final-system/common/libtool.xml

    r89c10a9 r586feb7  
    2929    <para os="a">Prepare Libtool for compilation:</para>
    3030
    31 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     31<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3232
    3333    <para os="c">Compile the package:</para>
     
    3737    <para os="e">Install the package:</para>
    3838
    39 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4040
    4141  </sect2>
  • BOOK/final-system/common/m4.xml

    r89c10a9 r586feb7  
    2727    <para os="a">Prepare M4 for compilation:</para>
    2828
    29 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     29<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3030
    3131    <para os="c">Compile the package:</para>
     
    3535    <para os="e">Install the package:</para>
    3636
    37 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     37<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    3838
    3939  </sect2>
  • BOOK/final-system/common/make.xml

    r89c10a9 r586feb7  
    2727    <para os="a">Prepare Make for compilation:</para>
    2828
    29 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     29<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3030
    3131    <para os="c">Compile the package:</para>
     
    3535    <para os="e">Install the package:</para>
    3636
    37 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     37<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    3838
    3939  </sect2>
  • BOOK/final-system/common/man-pages.xml

    r89c10a9 r586feb7  
    2727    <para os="a">Install Man-pages by running:</para>
    2828
    29 <screen os="b"><userinput>make prefix=${LFS} install</userinput></screen>
     29<screen os="b"><userinput>make prefix=${CLFS} install</userinput></screen>
    3030
    3131  </sect2>
  • BOOK/final-system/common/man.xml

    r89c10a9 r586feb7  
    7777    <para os="o">Install the package:</para>
    7878
    79 <screen os="p"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     79<screen os="p"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    8080
    8181    <note os="q">
  • BOOK/final-system/common/mktemp.xml

    r89c10a9 r586feb7  
    4040    <para os="c">Prepare Mktemp for compilation:</para>
    4141
    42 <screen os="d"><userinput>./configure --prefix=/usr --with-libc  --host=${LFS_TARGET}</userinput></screen>
     42<screen os="d"><userinput>./configure --prefix=/usr --with-libc  --host=${CLFS_TARGET}</userinput></screen>
    4343
    4444    <variablelist os="e">
     
    6161    <para os="h">Install the package:</para>
    6262
    63 <screen os="i"><userinput>make prefix=${LFS}/usr install
    64 make prefix=${LFS}/usr install-tempfile</userinput></screen>
     63<screen os="i"><userinput>make prefix=${CLFS}/usr install
     64make prefix=${CLFS}/usr install-tempfile</userinput></screen>
    6565
    6666  </sect2>
  • BOOK/final-system/common/module-init-tools.xml

    r89c10a9 r586feb7  
    2828    <para os="a">Prepare Module-Init-Tools for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/ --enable-zlib --host=${LFS_TARGET}</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/ --enable-zlib --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <variablelist os="c">
     
    4949    <para os="f">Install the package:</para>
    5050
    51 <screen os="g"><userinput>make DESTDIR=${LFS} INSTALL=install install</userinput></screen>
     51<screen os="g"><userinput>make DESTDIR=${CLFS} INSTALL=install install</userinput></screen>
    5252
    5353    <variablelist os="h">
  • BOOK/final-system/common/ncurses.xml

    r89c10a9 r586feb7  
    2929
    3030<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
    31    --host=${LFS_TARGET} --with-shared \
     31   --host=${CLFS_TARGET} --with-shared \
    3232   --without-debug --without-ada --with-build-cc=gcc</userinput></screen>
    3333
     
    3838    <para os="e">Install the package:</para>
    3939
    40 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     40<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4141
    4242    <para os="g">Move the Ncurses static libraries to the proper location:</para>
    4343
    44 <screen os="h"><userinput>mv -v ${LFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a ${LFS}/usr/lib</userinput></screen>
     44<screen os="h"><userinput>mv -v ${CLFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a ${CLFS}/usr/lib</userinput></screen>
    4545
    4646    <para os="i">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
    4747
    48 <screen os="j"><userinput>rm -v ${LFS}/lib/lib{ncurses,menu,panel,form,curses}.so
    49 ln -svf ../../lib/libncurses.so.5 ${LFS}/usr/lib/libcurses.so
    50 ln -svf ../../lib/libncurses.so.5 ${LFS}/usr/lib/libncurses.so
    51 ln -svf ../../lib/libmenu.so.5 ${LFS}/usr/lib/libmenu.so
    52 ln -svf ../../lib/libpanel.so.5 ${LFS}/usr/lib/libpanel.so
    53 ln -svf ../../lib/libform.so.5 ${LFS}/usr/lib/libform.so</userinput></screen>
     48<screen os="j"><userinput>rm -v ${CLFS}/lib/lib{ncurses,menu,panel,form,curses}.so
     49ln -svf ../../lib/libncurses.so.5 ${CLFS}/usr/lib/libcurses.so
     50ln -svf ../../lib/libncurses.so.5 ${CLFS}/usr/lib/libncurses.so
     51ln -svf ../../lib/libmenu.so.5 ${CLFS}/usr/lib/libmenu.so
     52ln -svf ../../lib/libpanel.so.5 ${CLFS}/usr/lib/libpanel.so
     53ln -svf ../../lib/libform.so.5 ${CLFS}/usr/lib/libform.so</userinput></screen>
    5454
    5555    <para os="k">Give the Ncurses libraries execute permissions:</para>
    5656
    57 <screen os="l"><userinput>chmod -v 755 ${LFS}/lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
     57<screen os="l"><userinput>chmod -v 755 ${CLFS}/lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
    5858
    5959  </sect2>
  • BOOK/final-system/common/patch.xml

    r89c10a9 r586feb7  
    2929    <para os="a">Prepare Patch for compilation:</para>
    3030
    31 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     31<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3232
    3333    <para os="c">Compile the package:</para>
     
    3737    <para os="e">Install the package:</para>
    3838
    39 <screen os="f"><userinput>make prefix=${LFS}/usr install</userinput></screen>
     39<screen os="f"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
    4040
    4141  </sect2>
  • BOOK/final-system/common/perl.xml

    r89c10a9 r586feb7  
    3737    <para os="c">Compile the package:</para>
    3838
    39 <screen os="d"><userinput>make ARCH= CROSS_COMPILE="${LFS_TARGET}-"</userinput></screen>
     39<screen os="d"><userinput>make ARCH= CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen>
    4040
    4141    <para os="e">Install the package:</para>
    4242
    43 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     43<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4444
    4545  </sect2>
  • BOOK/final-system/common/procps.xml

    r89c10a9 r586feb7  
    4040    <para os="c">Install the package:</para>
    4141
    42 <screen os="d"><userinput>make DESTDIR=${LFS} lib64=lib install</userinput></screen>
     42<screen os="d"><userinput>make DESTDIR=${CLFS} lib64=lib install</userinput></screen>
    4343
    4444  </sect2>
  • BOOK/final-system/common/psmisc.xml

    r89c10a9 r586feb7  
    2828    <para os="a">Prepare Psmisc for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr --exec-prefix="" --host=${LFS_TARGET}</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix="" --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <variablelist os="c">
     
    5151    <para os="f">Install the package:</para>
    5252
    53 <screen os="g"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     53<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5454
    5555    <para os="h">There is no reason for the <command>pstree</command> and
     
    5858    class="directory">/usr/bin</filename>:</para>
    5959
    60 <screen os="i"><userinput>mv -v ${LFS}/bin/pstree* ${LFS}/usr/bin</userinput></screen>
     60<screen os="i"><userinput>mv -v ${CLFS}/bin/pstree* ${CLFS}/usr/bin</userinput></screen>
    6161
    6262    <para os="j">By default, Psmisc's <command>pidof</command> program is not installed.
     
    6666    of Psmisc by creating the following symlink:</para>
    6767
    68 <screen os="k" role="nodump"><userinput>ln -sv killall ${LFS}/bin/pidof</userinput></screen>
     68<screen os="k" role="nodump"><userinput>ln -sv killall ${CLFS}/bin/pidof</userinput></screen>
    6969
    7070  </sect2>
  • BOOK/final-system/common/readline.xml

    r89c10a9 r586feb7  
    3333    <para os="a">Prepare Readline for compilation:</para>
    3434
    35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib --host=${LFS_TARGET}</userinput></screen>
     35<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib --host=${CLFS_TARGET}</userinput></screen>
    3636
    3737    <para os="c">Compile the package:</para>
     
    5353    <para os="f">Install the package:</para>
    5454
    55 <screen os="g"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     55<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5656
    5757    <para os="h">Give Readline's dynamic libraries more appropriate
    5858    permissions:</para>
    5959
    60 <screen os="i"><userinput>chmod -v 755 ${LFS}/lib/lib{readline,history}.so*</userinput></screen>
     60<screen os="i"><userinput>chmod -v 755 ${CLFS}/lib/lib{readline,history}.so*</userinput></screen>
    6161
    6262    <para os="j">Now move the static libraries to a more appropriate location:</para>
    6363
    64 <screen os="k"><userinput>mv -v ${LFS}/lib/lib{readline,history}.a ${LFS}/usr/lib</userinput></screen>
     64<screen os="k"><userinput>mv -v ${CLFS}/lib/lib{readline,history}.a ${CLFS}/usr/lib</userinput></screen>
    6565
    6666    <para os="l">Next, remove the <filename class="extension">.so</filename>
     
    6868    <filename class="directory">/usr/lib</filename>.</para>
    6969
    70 <screen os="m"><userinput>rm -v ${LFS}/lib/lib{readline,history}.so
    71 ln -svf ../../lib/libreadline.so.5 ${LFS}/usr/lib/libreadline.so
    72 ln -svf ../../lib/libhistory.so.5 ${LFS}/usr/lib/libhistory.so</userinput></screen>
     70<screen os="m"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so
     71ln -svf ../../lib/libreadline.so.5 ${CLFS}/usr/lib/libreadline.so
     72ln -svf ../../lib/libhistory.so.5 ${CLFS}/usr/lib/libhistory.so</userinput></screen>
    7373
    7474  </sect2>
  • BOOK/final-system/common/sed.xml

    r89c10a9 r586feb7  
    2828
    2929<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
    30     --host=${LFS_TARGET} --enable-html</userinput></screen>
     30    --host=${CLFS_TARGET} --enable-html</userinput></screen>
    3131
    3232    <variablelist os="c">
     
    4848    <para os="f">Install the package:</para>
    4949
    50 <screen os="g"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     50<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5151
    5252  </sect2>
  • BOOK/final-system/common/shadow.xml

    r89c10a9 r586feb7  
    4343<screen os="e"><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared \
    4444    --without-libpam --without-audit --without-selinux \
    45     --host=${LFS_TARGET} --cache-file=config.cache</userinput></screen>
     45    --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
    4646
    4747<para os="f">The meaning of the configure options:</para>
     
    8484    <para os="l">Install the package:</para>
    8585
    86 <screen os="m"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     86<screen os="m"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    8787
    8888    <para id="shadow-login_defs" os="r">Instead of using the default
     
    100100    </indexterm>
    101101
    102 <screen os="t"><userinput>cp ${LFS}/etc/login.defs login.defs.orig
     102<screen os="t"><userinput>cp ${CLFS}/etc/login.defs login.defs.orig
    103103sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
    104104    -e 's@/var/spool/mail@/var/mail@' \
    105     login.defs.orig &gt; ${LFS}/etc/login.defs</userinput></screen>
     105    login.defs.orig &gt; ${CLFS}/etc/login.defs</userinput></screen>
    106106
    107107    <note os="u">
     
    111111
    112112<screen><userinput>cp {LFS}/etc/login.defs login.defs.orig
    113 sed 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' login.defs.orig &gt; ${LFS}/etc/login.defs</userinput></screen>
     113sed 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' login.defs.orig &gt; ${CLFS}/etc/login.defs</userinput></screen>
    114114    </note>
    115115
    116116    <para os="v">Move a misplaced program to its proper location:</para>
    117117
    118 <screen os="w"><userinput>mv -v ${LFS}/usr/bin/passwd ${LFS}/bin</userinput></screen>
     118<screen os="w"><userinput>mv -v ${CLFS}/usr/bin/passwd ${CLFS}/bin</userinput></screen>
    119119
    120120    <para os="x">Move Shadow's dynamic libraries to a more appropriate
    121121    location:</para>
    122122
    123 <screen os="y"><userinput>mv -v ${LFS}/lib/libshadow.*a ${LFS}/usr/lib
    124 rm -v ${LFS}/lib/libshadow.so
    125 ln -svf ../../lib/libshadow.so.0 ${LFS}/usr/lib/libshadow.so</userinput></screen>
     123<screen os="y"><userinput>mv -v ${CLFS}/lib/libshadow.*a ${CLFS}/usr/lib
     124rm -v ${CLFS}/lib/libshadow.so
     125ln -svf ../../lib/libshadow.so.0 ${CLFS}/usr/lib/libshadow.so</userinput></screen>
    126126
    127127  </sect2>
  • BOOK/final-system/common/stripping.xml

    r89c10a9 r586feb7  
    2323  backup of the current situation.</para>
    2424
    25 <screen os="c"><userinput>find ${LFS}/{,usr/}{bin,lib,sbin} -type f \
    26    -exec ${LFS_TARGET}-strip --strip-debug '{}' ';'</userinput></screen>
     25<screen os="c"><userinput>find ${CLFS}/{,usr/}{bin,lib,sbin} -type f \
     26   -exec ${CLFS_TARGET}-strip --strip-debug '{}' ';'</userinput></screen>
    2727
    2828    <para os="i">A large number of files will be reported as having their file
  • BOOK/final-system/common/sysklogd.xml

    r89c10a9 r586feb7  
    4343    <para os="f">Install the package:</para>
    4444
    45 <screen os="g"><userinput>make prefix=${LFS} install</userinput></screen>
     45<screen os="g"><userinput>make prefix=${CLFS} install</userinput></screen>
    4646
    4747  </sect2>
     
    6161    the following:</para>
    6262
    63 <screen><userinput>cat &gt; ${LFS}/etc/syslog.conf &lt;&lt; "EOF"
     63<screen><userinput>cat &gt; ${CLFS}/etc/syslog.conf &lt;&lt; "EOF"
    6464<literal># Begin /etc/syslog.conf
    6565
  • BOOK/final-system/common/sysvinit.xml

    r89c10a9 r586feb7  
    5252
    5353<screen os="d"><userinput>make -C src clobber
    54 make -C src ROOT=${LFS} CC="${CC}"</userinput></screen>
     54make -C src ROOT=${CLFS} CC="${CC}"</userinput></screen>
    5555
    5656    <para os="e">Install the package:</para>
    5757
    58 <screen os="f"><userinput>make -C src ROOT=${LFS} INSTALL="install" install</userinput></screen>
     58<screen os="f"><userinput>make -C src ROOT=${CLFS} INSTALL="install" install</userinput></screen>
    5959
    6060  </sect2>
     
    7474    following:</para>
    7575
    76 <screen><userinput>cat &gt; ${LFS}/etc/inittab &lt;&lt; "EOF"
     76<screen><userinput>cat &gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    7777<literal># Begin /etc/inittab
    7878
  • BOOK/final-system/common/tar.xml

    r89c10a9 r586feb7  
    4343
    4444<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
    45     --libexecdir=/usr/sbin --host=${LFS_TARGET}</userinput></screen>
     45    --libexecdir=/usr/sbin --host=${CLFS_TARGET}</userinput></screen>
    4646
    4747    <para os="c">Compile the package:</para>
     
    5151    <para os="e">Install the package:</para>
    5252
    53 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     53<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5454
    5555  </sect2>
  • BOOK/final-system/common/texinfo.xml

    r89c10a9 r586feb7  
    3333    <para os="a">Prepare Texinfo for compilation:</para>
    3434
    35 <screen os="b"><userinput>./configure --prefix=/usr --host=${LFS_TARGET}</userinput></screen>
     35<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
    3636
    3737    <para os="c">Compile the package:</para>
     
    4141    <para os="e">Install the package:</para>
    4242
    43 <screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     43<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    4444
    4545    <para os="g">Optionally, install the components belonging in a TeX
    4646    installation:</para>
    4747
    48 <screen os="h"><userinput>make DESTDIR=${LFS} TEXMF=/usr/share/texmf install-tex</userinput></screen>
     48<screen os="h"><userinput>make DESTDIR=${CLFS} TEXMF=/usr/share/texmf install-tex</userinput></screen>
    4949
    5050    <variablelist os="i">
     
    7070    the following optional commands will accomplish the task:</para>
    7171
    72 <screen os="k" role="nodump"><userinput>cd ${LFS}/usr/share/info
     72<screen os="k" role="nodump"><userinput>cd ${CLFS}/usr/share/info
    7373rm dir
    7474for f in *
  • BOOK/final-system/common/udev.xml

    r89c10a9 r586feb7  
    2828    <para os="a">Compile the package:</para>
    2929
    30 <screen os="b"><userinput>make CROSS_COMPILE="${LFS_TARGET}-" CC="${CC}" LD="${CC}" \
     30<screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC}" LD="${CC}" \
    3131    EXTRAS="extras/floppy extras/cdrom_id extras/firmware \
    3232    extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \
     
    5050    <para os="c">Install the package:</para>
    5151
    52 <screen os="d"><userinput>make DESTDIR="${LFS}" \
     52<screen os="d"><userinput>make DESTDIR="${CLFS}" \
    5353    EXTRAS="extras/floppy extras/cdrom_id extras/firmware \
    5454    extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \
     
    5757    <para os="e">Install necessary helpers.</para>
    5858
    59 <screen os="f"><userinput>install -v extras/eventrecorder.sh ${LFS}/lib/udev</userinput></screen>
     59<screen os="f"><userinput>install -v extras/eventrecorder.sh ${CLFS}/lib/udev</userinput></screen>
    6060
    6161    <para os="g">Install the documentation that explains how to create
     
    6363
    6464<screen os="h"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
    65     ${LFS}/usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
     65    ${CLFS}/usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
    6666
    6767    <para os="i">Create a directory for storing firmware that can be
    6868    loaded by <command>udev</command>:</para>
    6969
    70 <screen os="j"><userinput>install -dv ${LFS}/lib/firmware</userinput></screen>
     70<screen os="j"><userinput>install -dv ${CLFS}/lib/firmware</userinput></screen>
    7171
    7272  </sect2>
  • BOOK/final-system/common/util-linux.xml

    r89c10a9 r586feb7  
    3737sed 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
    3838    hwclock/hwclock.c.orig &gt; hwclock/hwclock.c
    39 mkdir -pv ${LFS}/var/lib/hwclock</userinput></screen>
     39mkdir -pv ${CLFS}/var/lib/hwclock</userinput></screen>
    4040
    4141  </sect2>
     
    121121
    122122<screen os="g"><userinput>make HAVE_KILL=yes HAVE_SLN=yes \
    123 CPUOPT="" ARCH="" CPU="" USE_TTY_GROUP=no DESTDIR=${LFS} install
    124 mv -v ${LFS}/usr/bin/logger ${LFS}/bin</userinput></screen>
     123CPUOPT="" ARCH="" CPU="" USE_TTY_GROUP=no DESTDIR=${CLFS} install
     124mv -v ${CLFS}/usr/bin/logger ${CLFS}/bin</userinput></screen>
    125125
    126126  </sect2>
  • BOOK/final-system/common/variables.xml

    r89c10a9 r586feb7  
    1414  and linkers:</para>
    1515
    16 <screen><userinput>export CC="${LFS_TARGET}-gcc"
    17 export CXX="${LFS_TARGET}-g++"
    18 export AR="${LFS_TARGET}-ar"
    19 export AS="${LFS_TARGET}-as"
    20 export RANLIB="${LFS_TARGET}-ranlib"
    21 export LD="${LFS_TARGET}-ld"
    22 export STRIP="${LFS_TARGET}-strip"</userinput></screen>
     16<screen><userinput>export CC="${CLFS_TARGET}-gcc"
     17export CXX="${CLFS_TARGET}-g++"
     18export AR="${CLFS_TARGET}-ar"
     19export AS="${CLFS_TARGET}-as"
     20export RANLIB="${CLFS_TARGET}-ranlib"
     21export LD="${CLFS_TARGET}-ld"
     22export STRIP="${CLFS_TARGET}-strip"</userinput></screen>
    2323
    2424  <para>Then add the build variables to <filename>~/.bashrc</filename> to
  • BOOK/final-system/common/vim.xml

    r89c10a9 r586feb7  
    5656    <para os="d">Prepare Vim for compilation:</para>
    5757
    58 <screen os="e"><userinput>./configure --prefix=/usr --host=${LFS_TARGET} \
     58<screen os="e"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \
    5959    --enable-multibyte --enable-gui=no \
    6060    --disable-gtktest --disable-xim \
     
    8686    <para os="i">Install the package:</para>
    8787
    88 <screen os="j"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     88<screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    8989
    9090    <para os="k">Many users are accustomed to using <command>vi</command>
     
    9595    and allow programs that use <command>vi</command> to work:</para>
    9696
    97 <screen os="l"><userinput>ln -sv vim ${LFS}/usr/bin/vi</userinput></screen>
     97<screen os="l"><userinput>ln -sv vim ${CLFS}/usr/bin/vi</userinput></screen>
    9898
    9999<para os="m">By default, Vim's documentation is installed in
     
    103103it consistent with the location of documentation for other packages:</para>
    104104
    105 <screen os="n"><userinput>ln -sv ../vim/vim&vim-version2;/doc ${LFS}/usr/share/doc/vim-&vim-version;</userinput></screen>
     105<screen os="n"><userinput>ln -sv ../vim/vim&vim-version2;/doc ${CLFS}/usr/share/doc/vim-&vim-version;</userinput></screen>
    106106
    107107    <para os="o">If an X Window System is going to be installed on the LFS
     
    132132    following:</para>
    133133
    134 <screen><userinput>cat &gt; ${LFS}/etc/vimrc &lt;&lt; "EOF"
     134<screen><userinput>cat &gt; ${CLFS}/etc/vimrc &lt;&lt; "EOF"
    135135<literal>" Begin /etc/vimrc
    136136
  • BOOK/final-system/common/zlib.xml

    r89c10a9 r586feb7  
    4141    <para os="e">Install the pacakge:</para>
    4242
    43 <screen os="f"><userinput>make prefix=${LFS}/usr install</userinput></screen>
     43<screen os="f"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
    4444
    4545    <para os="g">The previous command installed a <filename
     
    4949    to <filename class="directory">/usr/lib</filename>:</para>
    5050
    51 <screen os="h"><userinput>mv -v ${LFS}/usr/lib/libz.so.* ${LFS}/lib
    52 ln -svf ../../lib/libz.so.1 ${LFS}/usr/lib/libz.so</userinput></screen>
     51<screen os="h"><userinput>mv -v ${CLFS}/usr/lib/libz.so.* ${CLFS}/lib
     52ln -svf ../../lib/libz.so.1 ${CLFS}/usr/lib/libz.so</userinput></screen>
    5353
    5454    <para os="i">Now we fix the permissions on the static library:</para>
    5555
    56 <screen os="j"><userinput>chmod -v 644 ${LFS}/usr/lib/libz.a</userinput></screen>
     56<screen os="j"><userinput>chmod -v 644 ${CLFS}/usr/lib/libz.a</userinput></screen>
    5757
    5858  </sect2>
Note: See TracChangeset for help on using the changeset viewer.