diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2007-09-18 21:11:00 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2007-09-18 21:11:00 +0000 |
commit | 0445a3d50660d84f11d095db0177078f4f5cd8a0 (patch) | |
tree | 0a498ecf0a0714891f5c4576bc508558268283a8 /chapter06/zlib.xml | |
parent | a7a02386b4c83ed74790c1918c80f1fffc3af472 (diff) |
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
Diffstat (limited to 'chapter06/zlib.xml')
-rw-r--r-- | chapter06/zlib.xml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index 0fa477901..6a4eadbc0 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -52,43 +52,45 @@ <para>Prepare Zlib for compilation:</para> -<screen><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr --shared --libdir=/lib</userinput></screen> <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 check</userinput>.</para> + <para>To test the results, issue:</para> + +<screen><userinput remap="test">make check</userinput></screen> <para>Install the shared library:</para> -<screen><userinput>make install</userinput></screen> +<screen><userinput remap="install">make install</userinput></screen> <para>The previous command installed a <filename class="extension">.so</filename> file in <filename class="directory">/lib</filename>. We will remove it and relink it into <filename class="directory">/usr/lib</filename>:</para> -<screen><userinput>rm -v /lib/libz.so +<screen><userinput remap="install">rm -v /lib/libz.so ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen> <para>Build the static library:</para> -<screen><userinput>make clean +<screen><userinput remap="make">make clean ./configure --prefix=/usr make</userinput></screen> - <para>To test the results again, issue: - <userinput>make check</userinput>.</para> + <para>To test the results again, issue:</para> + +<screen><userinput remap="test">make check</userinput></screen> <para>Install the static library:</para> -<screen><userinput>make install</userinput></screen> +<screen><userinput remap="install">make install</userinput></screen> <para>Fix the permissions on the static library:</para> -<screen><userinput>chmod -v 644 /usr/lib/libz.a</userinput></screen> +<screen><userinput remap="install">chmod -v 644 /usr/lib/libz.a</userinput></screen> </sect2> |