Changeset 0445a3d for chapter05


Ignore:
Timestamp:
09/18/2007 09:11:00 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e1ad8a8
Parents:
a7a0238
Message:

Added remap attributes to userinput tags in packages pages.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter05
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • chapter05/bash.xml

    ra7a0238 r0445a3d  
    4747    Bash-&bash-version;:</para>
    4848
    49 <screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
     49<screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
    5050
    5151    <para>Prepare Bash for compilation:</para>
    5252
    53 <screen><userinput>./configure --prefix=/tools --without-bash-malloc</userinput></screen>
     53<screen><userinput remap="configure">./configure --prefix=/tools --without-bash-malloc</userinput></screen>
    5454
    5555    <variablelist>
     
    7171    <para>Compile the package:</para>
    7272
    73 <screen><userinput>make</userinput></screen>
     73<screen><userinput remap="make">make</userinput></screen>
    7474
    75     <para>To test the results, issue:
    76     <userinput>make tests</userinput>.</para>
     75    <para>To test the results, issue:</para>
     76
     77<screen><userinput remap="test">make tests</userinput></screen>
    7778
    7879    <para>Install the package:</para>
    7980
    80 <screen><userinput>make install</userinput></screen>
     81<screen><userinput remap="install">make install</userinput></screen>
    8182
    8283    <para>Make a link for the programs that use <command>sh</command> for
    8384    a shell:</para>
    8485
    85 <screen><userinput>ln -vs bash /tools/bin/sh</userinput></screen>
     86<screen><userinput remap="install">ln -vs bash /tools/bin/sh</userinput></screen>
    8687
    8788  </sect2>
  • chapter05/binutils-pass1.xml

    ra7a0238 r0445a3d  
    5252    source directory in a dedicated build directory:</para>
    5353
    54 <screen><userinput>mkdir -v ../binutils-build
     54<screen><userinput remap="pre">mkdir -v ../binutils-build
    5555cd ../binutils-build</userinput></screen>
    5656
     
    6666    <para>Now prepare Binutils for compilation:</para>
    6767
    68 <screen><userinput>CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \
     68<screen><userinput remap="configure">CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \
    6969    --prefix=/tools --disable-nls --disable-werror</userinput></screen>
    7070
     
    112112    <para>Continue with compiling the package:</para>
    113113
    114 <screen><userinput>make</userinput></screen>
     114<screen><userinput remap="make">make</userinput></screen>
    115115
    116116    <para>Compilation is now complete. Ordinarily we would now run the
     
    122122    <para>Install the package:</para>
    123123
    124 <screen><userinput>make install</userinput></screen>
     124<screen><userinput remap="install">make install</userinput></screen>
    125125
    126126    <para>Next, prepare the linker for the <quote>Adjusting</quote> phase
    127127    later on:</para>
    128128
    129 <screen><userinput>make -C ld clean
     129<screen><userinput remap="adjust">make -C ld clean
    130130make -C ld LIB_PATH=/tools/lib
    131131cp -v ld/ld-new /tools/bin</userinput></screen>
  • chapter05/binutils-pass2.xml

    ra7a0238 r0445a3d  
    4646    <para>Create a separate build directory again:</para>
    4747
    48 <screen><userinput>mkdir -v ../binutils-build
     48<screen><userinput remap="pre">mkdir -v ../binutils-build
    4949cd ../binutils-build</userinput></screen>
    5050
    5151    <para>Prepare Binutils for compilation:</para>
    5252
    53 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
     53<screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/tools \
    5454    --disable-nls --with-lib-path=/tools/lib</userinput></screen>
    5555
     
    7272    <para>Compile the package:</para>
    7373
    74 <screen><userinput>make</userinput></screen>
     74<screen><userinput remap="make">make</userinput></screen>
    7575
    7676    <para>Compilation is now complete. As discussed earlier, running the
     
    7979    command:</para>
    8080
    81 <screen><userinput>make check</userinput></screen>
     81<screen><userinput remap="test">make check</userinput></screen>
    8282
    8383    <para>Install the package:</para>
    8484
    85 <screen><userinput>make install</userinput></screen>
     85<screen><userinput remap="install">make install</userinput></screen>
    8686
    8787    <para>Now prepare the linker for the <quote>Re-adjusting</quote> phase in
    8888    the next chapter:</para>
    8989
    90 <screen><userinput>make -C ld clean
     90<screen><userinput remap="adjust">make -C ld clean
    9191make -C ld LIB_PATH=/usr/lib:/lib
    9292cp -v ld/ld-new /tools/bin</userinput></screen>
    93 
    9493
    9594  </sect2>
  • chapter05/bison.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Bison for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    54     <para>To test the results, issue:
    55     <userinput>make check</userinput>.</para>
     54    <para>To test the results, issue:</para>
     55
     56<screen><userinput remap="test">make check</userinput></screen>
    5657
    5758    <para>Install the package:</para>
    5859
    59 <screen><userinput>make install</userinput></screen>
     60<screen><userinput remap="install">make install</userinput></screen>
    6061
    6162  </sect2>
  • chapter05/bzip2.xml

    ra7a0238 r0445a3d  
    4747    script. Compile and test it with:</para>
    4848
    49 <screen><userinput>make</userinput></screen>
     49<screen><userinput remap="make">make</userinput></screen>
    5050
    5151    <para>Install the package:</para>
    5252
    53 <screen><userinput>make PREFIX=/tools install</userinput></screen>
     53<screen><userinput remap="install">make PREFIX=/tools install</userinput></screen>
    5454
    5555  </sect2>
  • chapter05/coreutils.xml

    ra7a0238 r0445a3d  
    4848    Glibc provides, so we'll rename the function:</para>
    4949
    50 <screen><userinput>for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \
     50<screen><userinput remap="pre">for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \
    5151   cp -v $file{,.orig}
    5252   sed 's/futimens/gl_&amp;/' $file.orig &gt; $file
     
    5555    <para>Prepare Coreutils for compilation:</para>
    5656
    57 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     57<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    5858
    5959    <para>Compile the package:</para>
    6060
    61 <screen><userinput>make</userinput></screen>
     61<screen><userinput remap="make">make</userinput></screen>
    6262
    63     <para>To test the results, issue:
    64     <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The
    65     <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the
     63    <para>To test the results, issue:</para>
     64
     65<screen><userinput remap="test">make RUN_EXPENSIVE_TESTS=yes check</userinput></screen>
     66
     67    <para>The <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the
    6668    test suite to run several additional tests that are considered
    6769    relatively expensive (in terms of CPU power and memory usage) on some
     
    7072    <para>Install the package:</para>
    7173
    72 <screen><userinput>make install</userinput></screen>
     74<screen><userinput remap="install">make install</userinput></screen>
    7375
    7476    <para>The above command refuses to install <filename>su</filename>
     
    7981    it with:</para>
    8082
    81 <screen><userinput>cp -v src/su /tools/bin/su-tools</userinput></screen>
     83<screen><userinput remap="install">cp -v src/su /tools/bin/su-tools</userinput></screen>
    8284
    8385  </sect2>
  • chapter05/dejagnu.xml

    ra7a0238 r0445a3d  
    4444    <para>Prepare DejaGNU for compilation:</para>
    4545
    46 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     46<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4747
    4848    <para>Build and install the package:</para>
    4949
    50 <screen><userinput>make install</userinput></screen>
     50<screen><userinput remap="install">make install</userinput></screen>
    5151
    52     <para>To test the results, issue:
    53     <userinput>make check</userinput>.</para>
     52    <para>To test the results, issue:</para>
     53
     54<screen><userinput remap="test">make check</userinput></screen>
    5455
    5556  </sect2>
  • chapter05/diffutils.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Diffutils for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    5454    <para>This package does not come with a test suite.</para>
     
    5656    <para>Install the package:</para>
    5757
    58 <screen><userinput>make install</userinput></screen>
     58<screen><userinput remap="install">make install</userinput></screen>
    5959
    6060  </sect2>
  • chapter05/expect.xml

    ra7a0238 r0445a3d  
    4545    suite run:</para>
    4646
    47 <screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
     47<screen><userinput remap="pre">patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
    4848
    4949    <para>Next, force Expect's configure script to use <filename>/bin/stty</filename>
     
    5252    toolchain:</para>
    5353
    54 <screen><userinput>cp configure{,.bak}
     54<screen><userinput remap="pre">cp configure{,.bak}
    5555sed 's:/usr/local/bin:/bin:' configure.bak &gt; configure</userinput></screen>
    5656
    5757    <para>Now prepare Expect for compilation:</para>
    5858
    59 <screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
     59<screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \
    6060  --with-tclinclude=/tools/include --with-x=no</userinput></screen>
    6161
     
    9696    <para>Build the package:</para>
    9797
    98 <screen><userinput>make</userinput></screen>
     98<screen><userinput remap="make">make</userinput></screen>
    9999
    100     <para>To test the results, issue: <userinput>make test</userinput>.
    101     Note that the Expect test suite is known to experience failures under
     100    <para>To test the results, issue:</para>
     101
     102<screen><userinput remap="test">make test</userinput></screen>
     103
     104    <para>Note that the Expect test suite is known to experience failures under
    102105    certain host conditions that are not within our control. Therefore,
    103106    test suite failures here are not surprising and are not considered
     
    106109    <para>Install the package:</para>
    107110
    108 <screen><userinput>make SCRIPTS="" install</userinput></screen>
     111<screen><userinput remap="install">make SCRIPTS="" install</userinput></screen>
    109112
    110113    <variablelist>
  • chapter05/findutils.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Findutils for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    54     <para>To test the results, issue:
    55     <userinput>make check</userinput>.</para>
     54    <para>To test the results, issue:</para>
     55
     56<screen><userinput remap="test">make check</userinput></screen>
    5657
    5758    <para>Install the package:</para>
    5859
    59 <screen><userinput>make install</userinput></screen>
     60<screen><userinput remap="install">make install</userinput></screen>
    6061
    6162  </sect2>
  • chapter05/flex.xml

    ra7a0238 r0445a3d  
    4747    following patch:</para>
    4848
    49 <screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
     49<screen><userinput remap="pre">patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
    5050
    5151    <para>The GNU autotools will detect that the Flex source code has been
     
    5454    fine, so make sure it does not get regenerated:</para>
    5555
    56 <screen><userinput>touch doc/flex.1</userinput></screen>
     56<screen><userinput remap="pre">touch doc/flex.1</userinput></screen>
    5757
    5858    <para>Now prepare Flex for compilation:</para>
    5959
    60 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     60<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    6161
    6262    <para>Compile the package:</para>
    6363
    64 <screen><userinput>make</userinput></screen>
     64<screen><userinput remap="make">make</userinput></screen>
    6565
    66     <para>To test the results, issue:
    67     <userinput>make check</userinput>.</para>
     66    <para>To test the results, issue:</para>
     67
     68<screen><userinput remap="test">make check</userinput></screen>
    6869
    6970    <para>Install the package:</para>
    7071
    71 <screen><userinput>make install</userinput></screen>
     72<screen><userinput remap="install">make install</userinput></screen>
    7273
    7374  </sect2>
  • chapter05/gawk.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Gawk for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Due to a bug in the <command>configure</command> script, Gawk fails
     
    5353    missing macro definitions to <filename>config.h</filename>:</para>
    5454
    55 <screen><userinput>cat &gt;&gt; config.h &lt;&lt; "EOF"
     55<screen><userinput remap="configure">cat &gt;&gt; config.h &lt;&lt; "EOF"
    5656<literal>#define HAVE_LANGINFO_CODESET 1
    5757#define HAVE_LC_MESSAGES 1</literal>
     
    6060    <para>Compile the package:</para>
    6161
    62 <screen><userinput>make</userinput></screen>
     62<screen><userinput remap="make">make</userinput></screen>
    6363
    64     <para>To test the results, issue:
    65     <userinput>make check</userinput>.</para>
     64    <para>To test the results, issue:</para>
     65
     66<screen><userinput remap="test">make check</userinput></screen>
    6667
    6768    <para>Install the package:</para>
    6869
    69 <screen><userinput>make install</userinput></screen>
     70<screen><userinput remap="install">make install</userinput></screen>
    7071
    7172  </sect2>
  • chapter05/gcc-pass1.xml

    ra7a0238 r0445a3d  
    4747    source directory in a dedicated build directory:</para>
    4848
    49 <screen><userinput>mkdir -v ../gcc-build
     49<screen><userinput remap="pre">mkdir -v ../gcc-build
    5050cd ../gcc-build</userinput></screen>
    5151
    5252    <para>Prepare GCC for compilation:</para>
    5353
    54 <screen><userinput>CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \
     54<screen><userinput remap="configure">CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \
    5555    --with-local-prefix=/tools --disable-nls --enable-shared \
    5656    --enable-languages=c</userinput></screen>
     
    110110    package. Continue with compiling by running:</para>
    111111
    112 <screen><userinput>make</userinput></screen>
     112<screen><userinput remap="make">make</userinput></screen>
    113113
    114114    <para>Compilation is now complete. At this point, the test suite would
     
    120120    <para>Install the package:</para>
    121121
    122 <screen><userinput>make install</userinput></screen>
     122<screen><userinput remap="install">make install</userinput></screen>
    123123
    124124    <para>As a finishing touch, create a symlink. Many programs and scripts
     
    129129    which C compiler to install:</para>
    130130
    131 <screen><userinput>ln -vs gcc /tools/bin/cc</userinput></screen>
     131<screen><userinput remap="install">ln -vs gcc /tools/bin/cc</userinput></screen>
    132132
    133133  </sect2>
  • chapter05/gcc-pass2.xml

    ra7a0238 r0445a3d  
    5454    performing a quick test:</para>
    5555
    56 <screen><userinput>expect -c "spawn ls"</userinput></screen>
     56<screen><userinput remap="test">expect -c "spawn ls"</userinput></screen>
    5757
    5858    <para>The response might be:</para>
     
    7878    be suppressed by issuing the following commands:</para>
    7979
    80 <screen><userinput>cp -v gcc/Makefile.in{,.orig}
     80<screen><userinput remap="pre">cp -v gcc/Makefile.in{,.orig}
    8181sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig &gt; gcc/Makefile.in</userinput></screen>
    8282
     
    8787    builds:</para>
    8888
    89 <screen><userinput>cp -v gcc/Makefile.in{,.tmp}
     89<screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp}
    9090sed 's/^XCFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in.tmp \
    9191  &gt; gcc/Makefile.in</userinput></screen>
     
    100100    against the new Glibc. Issue:</para>
    101101
    102 <screen><userinput>for file in $(find gcc/config -name linux64.h -o -name linux.h)
     102<screen><userinput remap="pre">for file in $(find gcc/config -name linux64.h -o -name linux.h)
    103103do
    104104  cp -uv $file{,.orig}
     
    127127    <para>Create a separate build directory again:</para>
    128128
    129 <screen><userinput>mkdir -v ../gcc-build
     129<screen><userinput remap="pre">mkdir -v ../gcc-build
    130130cd ../gcc-build</userinput></screen>
    131131
     
    135135    <para>Now prepare GCC for compilation:</para>
    136136
    137 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
     137<screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/tools \
    138138    --with-local-prefix=/tools --enable-clocale=gnu \
    139139    --enable-shared --enable-threads=posix \
     
    207207    <para>Compile the package:</para>
    208208
    209 <screen><userinput>make</userinput></screen>
     209<screen><userinput remap="make">make</userinput></screen>
    210210
    211211    <para>There is no need to use the <parameter>bootstrap</parameter> target
     
    217217    To run the GCC test suite anyway, use the following command:</para>
    218218
    219 <screen><userinput>make -k check</userinput></screen>
     219<screen><userinput remap="test">make -k check</userinput></screen>
    220220
    221221    <para>The <parameter>-k</parameter> flag is used to make the test suite run
     
    229229    <para>Install the package:</para>
    230230
    231 <screen><userinput>make install</userinput></screen>
     231<screen><userinput remap="install">make install</userinput></screen>
    232232
    233233    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • chapter05/gettext.xml

    ra7a0238 r0445a3d  
    4949    <para>Prepare Gettext for compilation:</para>
    5050
    51 <screen><userinput>cd gettext-tools
     51<screen><userinput remap="configure">cd gettext-tools
    5252./configure --prefix=/tools --disable-shared</userinput></screen>
    5353
     
    6767    <para>Compile the package:</para>
    6868
    69 <screen><userinput>make -C gnulib-lib
     69<screen><userinput remap="make">make -C gnulib-lib
    7070make -C src msgfmt</userinput></screen>
    7171
     
    7777    <para>Install the <command>msgfmt</command> binary:</para>
    7878
    79 <screen><userinput>cp -v src/msgfmt /tools/bin</userinput></screen>
     79<screen><userinput remap="install">cp -v src/msgfmt /tools/bin</userinput></screen>
    8080
    8181  </sect2>
  • chapter05/glibc.xml

    ra7a0238 r0445a3d  
    4747    directory in a dedicated build directory:</para>
    4848
    49 <screen><userinput>mkdir -v ../glibc-build
     49<screen><userinput remap="pre">mkdir -v ../glibc-build
    5050cd ../glibc-build</userinput></screen>
    5151
     
    5858    making use of the special file <filename>configparms</filename>:</para>
    5959
    60 <screen><userinput>echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
     60<screen><userinput remap="configure">echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
    6161
    6262    <para>Next, prepare Glibc for compilation:</para>
    6363
    64 <screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
     64<screen><userinput remap="configure">../glibc-&glibc-version;/configure --prefix=/tools \
    6565    --disable-profile --enable-add-ons \
    6666    --enable-kernel=2.6.0 --with-binutils=/tools/bin \
     
    154154    <para>Compile the package:</para>
    155155
    156 <screen><userinput>make</userinput></screen>
     156<screen><userinput remap="make">make</userinput></screen>
    157157
    158158    <para>Compilation is now complete. As mentioned earlier, running the
     
    161161    command will do so:</para>
    162162
    163 <screen><userinput>make check</userinput></screen>
     163<screen><userinput remap="test">make check</userinput></screen>
    164164
    165165    <para>For a discussion of test failures that are of particular
     
    185185    Prevent this warning with:</para>
    186186
    187 <screen><userinput>mkdir -v /tools/etc
     187<screen><userinput remap="install">mkdir -v /tools/etc
    188188touch /tools/etc/ld.so.conf</userinput></screen>
    189189
    190190    <para>Install the package:</para>
    191191
    192 <screen><userinput>make install</userinput></screen>
     192<screen><userinput remap="install">make install</userinput></screen>
    193193
    194194    <para>Different countries and cultures have varying conventions for
  • chapter05/grep.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Grep for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools \
     48<screen><userinput remap="configure">./configure --prefix=/tools \
    4949    --disable-perl-regexp</userinput></screen>
    5050
     
    6666    <para>Compile the package:</para>
    6767
    68 <screen><userinput>make</userinput></screen>
     68<screen><userinput remap="make">make</userinput></screen>
    6969
    70     <para>To test the results, issue:
    71     <userinput>make check</userinput>.</para>
     70    <para>To test the results, issue:</para>
     71
     72<screen><userinput remap="test">make check</userinput></screen>
    7273
    7374    <para>Install the package:</para>
    7475
    75 <screen><userinput>make install</userinput></screen>
     76<screen><userinput remap="install">make install</userinput></screen>
    7677
    7778  </sect2>
  • chapter05/gzip.xml

    ra7a0238 r0445a3d  
    4848    Glibc provides, so we'll rename the function:</para>
    4949
    50 <screen><userinput>for file in gzip.c lib/utimens.{c,h} ; do \
     50<screen><userinput remap="pre">for file in gzip.c lib/utimens.{c,h} ; do \
    5151   cp -v $file{,.orig}
    5252   sed 's/futimens/gl_&amp;/' $file.orig &gt; $file
     
    5555    <para>Prepare Gzip for compilation:</para>
    5656
    57 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     57<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    5858
    5959    <para>Compile the package:</para>
    6060
    61 <screen><userinput>make</userinput></screen>
     61<screen><userinput remap="make">make</userinput></screen>
    6262
    63     <para>To test the results, issue:
    64     <userinput>make check</userinput>.</para>
     63    <para>To test the results, issue:</para>
     64
     65<screen><userinput remap="test">make check</userinput></screen>
    6566
    6667    <para>Install the package:</para>
    6768
    68 <screen><userinput>make install</userinput></screen>
     69<screen><userinput remap="install">make install</userinput></screen>
    6970
    7071  </sect2>
  • chapter05/linux-headers.xml

    ra7a0238 r0445a3d  
    5151    <para>Install the header files:</para>
    5252
    53 <screen><userinput>make mrproper
     53<screen><userinput remap="install">make mrproper
    5454make headers_check
    5555make INSTALL_HDR_PATH=dest headers_install
  • chapter05/m4.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare M4 for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    54     <para>To test the results, issue:
    55     <userinput>make check</userinput>.</para>
     54    <para>To test the results, issue:</para>
     55
     56<screen><userinput remap="test">make check</userinput></screen>
    5657
    5758    <para>Install the package:</para>
    5859
    59 <screen><userinput>make install</userinput></screen>
     60<screen><userinput remap="install">make install</userinput></screen>
    6061
    6162  </sect2>
  • chapter05/make.xml

    ra7a0238 r0445a3d  
    4545    <para>Prepare Make for compilation:</para>
    4646
    47 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     47<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4848
    4949    <para>Compile the package:</para>
    5050
    51 <screen><userinput>make</userinput></screen>
     51<screen><userinput remap="make">make</userinput></screen>
    5252
    53     <para>To test the results, issue:
    54     <userinput>make check</userinput>.</para>
     53    <para>To test the results, issue:</para>
     54
     55<screen><userinput remap="test">make check</userinput></screen>
    5556
    5657    <para>Install the package:</para>
    5758
    58 <screen><userinput>make install</userinput></screen>
     59<screen><userinput remap="install">make install</userinput></screen>
    5960
    6061  </sect2>
  • chapter05/ncurses.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Ncurses for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools --with-shared \
     48<screen><userinput remap="configure">./configure --prefix=/tools --with-shared \
    4949    --without-debug --without-ada --enable-overwrite</userinput></screen>
    5050
     
    7676    <para>Compile the package:</para>
    7777
    78 <screen><userinput>make</userinput></screen>
     78<screen><userinput remap="make">make</userinput></screen>
    7979
    8080    <para>This package does not come with a test suite.</para>
     
    8282    <para>Install the package:</para>
    8383
    84 <screen><userinput>make install</userinput></screen>
     84<screen><userinput remap="install">make install</userinput></screen>
    8585
    8686  </sect2>
  • chapter05/patch.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Patch for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    5454    <para>This package does not come with a test suite.</para>
     
    5656    <para>Install the package:</para>
    5757
    58 <screen><userinput>make install</userinput></screen>
     58<screen><userinput remap="install">make install</userinput></screen>
    5959
    6060  </sect2>
  • chapter05/perl.xml

    ra7a0238 r0445a3d  
    4747    the following patch:</para>
    4848
    49 <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
     49<screen><userinput remap="pre">patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
    5050
    5151    <para>Fix an incompatibility with gcc-&gcc-version;:</para>
    5252
    53 <screen><userinput>mv -v makedepend.SH{,.orig}
     53<screen><userinput remap="pre">mv -v makedepend.SH{,.orig}
    5454sed 's/command /command[ -]/' makedepend.SH.orig &gt; makedepend.SH</userinput></screen>
    5555
     
    5858    letters):</para>
    5959
    60 <screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen>
     60<screen><userinput remap="configure">./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen>
    6161
    6262    <variablelist>
     
    6868          <para>This tells Perl to build the minimum set of static extensions
    6969          needed for installing and testing the Coreutils and Glibc packages in the
    70           next chapter.</para>
     70          next chapter.</para>
    7171        </listitem>
    7272      </varlistentry>
     
    7777    built:</para>
    7878
    79 <screen><userinput>make perl utilities</userinput></screen>
     79<screen><userinput remap="make">make perl utilities</userinput></screen>
    8080
    8181    <para>Although Perl comes with a test suite, it is not recommended to
     
    8787    <para>Install these tools and their libraries:</para>
    8888
    89 <screen><userinput>cp -v perl pod/pod2man /tools/bin
     89<screen><userinput remap="install">cp -v perl pod/pod2man /tools/bin
    9090mkdir -pv /tools/lib/perl5/&perl-version;
    9191cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
  • chapter05/sed.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Sed for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    54     <para>To test the results, issue:
    55     <userinput>make check</userinput>.</para>
     54    <para>To test the results, issue:</para>
     55
     56<screen><userinput remap="test">make check</userinput></screen>
    5657
    5758    <para>Install the package:</para>
    5859
    59 <screen><userinput>make install</userinput></screen>
     60<screen><userinput remap="install">make install</userinput></screen>
    6061
    6162  </sect2>
  • chapter05/tar.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Tar for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    54     <para>To test the results, issue:
    55     <userinput>make check</userinput>.</para>
     54    <para>To test the results, issue:</para>
     55
     56<screen><userinput remap="test">make check</userinput></screen>
    5657
    5758    <para>Install the package:</para>
    5859
    59 <screen><userinput>make install</userinput></screen>
     60<screen><userinput remap="install">make install</userinput></screen>
    6061
    6162  </sect2>
  • chapter05/tcl.xml

    ra7a0238 r0445a3d  
    5151    <para>Prepare Tcl for compilation:</para>
    5252
    53 <screen><userinput>cd unix
     53<screen><userinput remap="configure">cd unix
    5454./configure --prefix=/tools</userinput></screen>
    5555
    5656    <para>Build the package:</para>
    5757
    58 <screen><userinput>make</userinput></screen>
     58<screen><userinput remap="make">make</userinput></screen>
    5959
    60     <para>To test the results, issue: <userinput>TZ=UTC make test</userinput>.
    61     The Tcl test suite is known to experience failures under certain host
     60    <para>To test the results, issue:</para>
     61
     62<screen><userinput remap="test">TZ=UTC make test</userinput></screen>
     63
     64    <para>The Tcl test suite is known to experience failures under certain host
    6265    conditions that are not fully understood. Therefore, test suite failures
    6366    here are not surprising, and are not considered critical. The
     
    7073    <para>Install the package:</para>
    7174
    72 <screen><userinput>make install</userinput></screen>
     75<screen><userinput remap="install">make install</userinput></screen>
    7376
    7477    <para>Install Tcl's headers. The next package, Expect, requires them
    7578    to build.</para>
    7679
    77 <screen><userinput>make install-private-headers</userinput></screen>
     80<screen><userinput remap="install">make install-private-headers</userinput></screen>
    7881
    7982    <para>Now make a necessary symbolic link:</para>
    8083
    81 <screen><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
     84<screen><userinput remap="install">ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
    8285
    8386  </sect2>
  • chapter05/texinfo.xml

    ra7a0238 r0445a3d  
    4646    <para>Prepare Texinfo for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput>make</userinput></screen>
     52<screen><userinput remap="make">make</userinput></screen>
    5353
    54     <para>To test the results, issue:
    55     <userinput>make check</userinput>.</para>
     54    <para>To test the results, issue:</para>
     55
     56<screen><userinput remap="test">make check</userinput></screen>
    5657
    5758    <para>Install the package:</para>
    5859
    59 <screen><userinput>make install</userinput></screen>
     60<screen><userinput remap="install">make install</userinput></screen>
    6061
    6162  </sect2>
  • chapter05/util-linux.xml

    ra7a0238 r0445a3d  
    4848    This is fixed by altering the configure script:</para>
    4949
    50 <screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
     50<screen><userinput remap="pre">sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
    5151
    5252    <para>Prepare Util-linux for compilation:</para>
    5353
    54 <screen><userinput>./configure</userinput></screen>
     54<screen><userinput remap="configure">./configure</userinput></screen>
    5555
    5656    <para>Compile some support routines:</para>
    5757
    58 <screen><userinput>make -C lib</userinput></screen>
     58<screen><userinput remap="make">make -C lib</userinput></screen>
    5959
    6060    <para>Only a few of the utilities contained in this package need to be
    6161    built:</para>
    6262
    63 <screen><userinput>make -C mount mount umount
     63<screen><userinput remap="make">make -C mount mount umount
    6464make -C text-utils more</userinput></screen>
    6565
     
    6868    <para>Copy these programs to the temporary tools directory:</para>
    6969
    70 <screen><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
     70<screen><userinput remap="install">cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
    7171
    7272  </sect2>
Note: See TracChangeset for help on using the changeset viewer.