r8389 - in trunk/BOOK: . chapter01 chapter05 chapter06 chapter07 chapter08

Dan Nicholson dbn.lists at gmail.com
Tue Sep 18 14:48:49 PDT 2007


On 9/18/07, manuel at linuxfromscratch.org <manuel at linuxfromscratch.org> wrote:
>
> Modified: trunk/BOOK/chapter05/bash.xml
> ===================================================================
> --- trunk/BOOK/chapter05/bash.xml       2007-09-16 07:58:14 UTC (rev 8388)
> +++ trunk/BOOK/chapter05/bash.xml       2007-09-18 21:11:00 UTC (rev 8389)
> @@ -46,11 +46,11 @@
>      <para>Apply fixes for several bugs discovered since the initial release of
>      Bash-&bash-version;:</para>
>
> -<screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
> +<screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
>
>      <para>Prepare Bash for compilation:</para>
>
> -<screen><userinput>./configure --prefix=/tools --without-bash-malloc</userinput></screen>
> +<screen><userinput remap="configure">./configure --prefix=/tools --without-bash-malloc</userinput></screen>
>
>      <variablelist>
>        <title>The meaning of the configure option:</title>
> @@ -70,19 +70,20 @@
>
>      <para>Compile the package:</para>
>
> -<screen><userinput>make</userinput></screen>
> +<screen><userinput remap="make">make</userinput></screen>
>
> -    <para>To test the results, issue:
> -    <userinput>make tests</userinput>.</para>
> +    <para>To test the results, issue:</para>
>
> +<screen><userinput remap="test">make tests</userinput></screen>
> +
>      <para>Install the package:</para>
>
> -<screen><userinput>make install</userinput></screen>
> +<screen><userinput remap="install">make install</userinput></screen>
>
>      <para>Make a link for the programs that use <command>sh</command> for
>      a shell:</para>
>
> -<screen><userinput>ln -vs bash /tools/bin/sh</userinput></screen>
> +<screen><userinput remap="install">ln -vs bash /tools/bin/sh</userinput></screen>
>
>    </sect2>

Manuel, do you think we really need to create the separate pre,
configure and make attributes? How do you envision using these? As an
editor, how do I map these attributes to new commands I may add?

The way I see it, the default (no remap attribute) userinput element
would represent all these cases. Only the cases of "test" and
"install" (or some other special case) would need additional
attributes to indicate that they were different than the default mode.

--
Dan



More information about the lfs-book mailing list