aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-13 07:38:47 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-13 07:38:47 +0000
commit4a7a683b9a72b17fe56efe9b1e0e2e33d1c9278d (patch)
tree8fa3ab5367dc2725d0a5c7d1b5cfd798e46b819b /chapter06
parentb74e415582bf90f1189d9546cfd07b902b6f8e0a (diff)
Applied Zack's various-fixes patch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2608 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/adjustingtoolchain.xml2
-rw-r--r--chapter06/autoconf-inst.xml2
-rw-r--r--chapter06/automake-inst.xml2
-rw-r--r--chapter06/bash-inst.xml2
-rw-r--r--chapter06/binutils-inst.xml5
-rw-r--r--chapter06/bison-inst.xml2
-rw-r--r--chapter06/bzip2-inst.xml14
-rw-r--r--chapter06/coreutils-inst.xml10
-rw-r--r--chapter06/creatingdirs.xml18
-rw-r--r--chapter06/diffutils-inst.xml2
-rw-r--r--chapter06/e2fsprogs-inst.xml4
-rw-r--r--chapter06/ed-inst.xml2
-rw-r--r--chapter06/findutils-inst.xml2
-rw-r--r--chapter06/flex-inst.xml2
-rw-r--r--chapter06/gawk-inst.xml2
-rw-r--r--chapter06/gcc-inst.xml4
-rw-r--r--chapter06/gettext-inst.xml2
-rw-r--r--chapter06/glibc-inst.xml5
-rw-r--r--chapter06/grep-inst.xml2
-rw-r--r--chapter06/groff-inst.xml4
-rw-r--r--chapter06/gzip-inst.xml10
-rw-r--r--chapter06/inetutils-inst.xml3
-rw-r--r--chapter06/kernel-inst.xml2
-rw-r--r--chapter06/libtool-inst.xml2
-rw-r--r--chapter06/m4-inst.xml2
-rw-r--r--chapter06/make-inst.xml2
-rw-r--r--chapter06/patch-inst.xml2
-rw-r--r--chapter06/perl-inst.xml2
-rw-r--r--chapter06/sed-inst.xml2
-rw-r--r--chapter06/shadowpwd-inst.xml4
-rw-r--r--chapter06/sysvinit-inst.xml2
-rw-r--r--chapter06/tar-inst.xml2
-rw-r--r--chapter06/texinfo-inst.xml2
-rw-r--r--chapter06/utillinux-inst.xml4
-rw-r--r--chapter06/zlib-inst.xml9
35 files changed, 88 insertions, 50 deletions
diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml
index 345282ed9..e1001d236 100644
--- a/chapter06/adjustingtoolchain.xml
+++ b/chapter06/adjustingtoolchain.xml
@@ -5,7 +5,7 @@
<para><screen><userinput>cd binutils-build
make -C ld INSTALL=/stage1/bin/install install-data-local
-SPECFILE=/stage1/lib/gcc-lib/*/*/specs &amp;&amp;
+SPECFILE=/stage1/lib/gcc-lib/*/*/specs
sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \
&nbsp;&nbsp;&nbsp;&nbsp;-e 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' $SPECFILE > XX
mv XX $SPECFILE
diff --git a/chapter06/autoconf-inst.xml b/chapter06/autoconf-inst.xml
index 9a6800680..9f3086f6e 100644
--- a/chapter06/autoconf-inst.xml
+++ b/chapter06/autoconf-inst.xml
@@ -10,6 +10,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/automake-inst.xml b/chapter06/automake-inst.xml
index 4214b6648..b0c8c5ba4 100644
--- a/chapter06/automake-inst.xml
+++ b/chapter06/automake-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml
index 19a54c714..597490117 100644
--- a/chapter06/bash-inst.xml
+++ b/chapter06/bash-inst.xml
@@ -17,6 +17,8 @@ patch:</para>
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make tests</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml
index 0c2d4f973..d080a7a5d 100644
--- a/chapter06/binutils-inst.xml
+++ b/chapter06/binutils-inst.xml
@@ -11,14 +11,13 @@ or modifying them when building binutils.</para>
<para>It is recommended by the Binutils installation documentation to build
Binutils outside of the source directory:</para>
-<para><screen><userinput>mkdir ../binutils-build &amp;&amp;
+<para><screen><userinput>mkdir ../binutils-build
cd ../binutils-build</userinput></screen></para>
<para>Next, prepare Binutils to be compiled:</para>
<para><screen><userinput>../binutils-&binutils-version;/configure \
-&nbsp;&nbsp;&nbsp;&nbsp;--prefix=/usr --mandir=/usr/share/man \
-&nbsp;&nbsp;&nbsp;&nbsp;--infodir=/usr/share/info --enable-shared</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-shared</userinput></screen></para>
<para>Continue with compiling the package:</para>
diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml
index d44fe385c..c346a6270 100644
--- a/chapter06/bison-inst.xml
+++ b/chapter06/bison-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index fdcee6fd4..cabfc4c63 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -5,7 +5,7 @@
<para>Begin compiling the package:</para>
-<para><screen><userinput>make -f Makefile-libbz2_so &amp;&amp;
+<para><screen><userinput>make -f Makefile-libbz2_so
make clean</userinput></screen></para>
<para>The <emphasis>-f</emphasis> flag will cause bzip2 to be built
@@ -26,12 +26,12 @@ against it.</para>
class="directory">/bin</filename> directory, make some
necessary symbolic links and clean up.</para>
-<para><screen><userinput>cp bzip2-shared /bin/bzip2 &amp;&amp;
-cp -a libbz2.so* /lib &amp;&amp;
-ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &amp;&amp;
-rm /usr/bin/{bunzip2,bzcat,bzip2} &amp;&amp;
-mv /usr/bin/{bzip2recover,bzless,bzmore} /bin &amp;&amp;
-ln -s bzip2 /bin/bunzip2 &amp;&amp;
+<para><screen><userinput>cp bzip2-shared /bin/bzip2
+cp -a libbz2.so* /lib
+ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
+rm /usr/bin/{bunzip2,bzcat,bzip2}
+mv /usr/bin/{bzip2recover,bzless,bzmore} /bin
+ln -s bzip2 /bin/bunzip2
ln -s bzip2 /bin/bzcat</userinput></screen></para>
</sect2>
diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml
index f1225d77c..5a002dc8e 100644
--- a/chapter06/coreutils-inst.xml
+++ b/chapter06/coreutils-inst.xml
@@ -23,16 +23,18 @@ Prevent the installation of hostname with this patch:</para>
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check-root</userinput></screen></para>
+
<para>Install the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
<para>Move files to their proper locations:</para>
-<para><screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin &amp;&amp;
-mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin &amp;&amp;
-mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin &amp;&amp;
-mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin &amp;&amp;
+<para><screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
+mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin
+mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin
+mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin
mv /usr/bin/{touch,true,uname,vdir} /bin
mv /usr/bin/chroot /usr/sbin</userinput></screen></para>
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml
index 3763bf202..6e1c597af 100644
--- a/chapter06/creatingdirs.xml
+++ b/chapter06/creatingdirs.xml
@@ -6,8 +6,8 @@
a directory tree. Issuing the following commands will create a more or less
standard tree:</para>
-<para><screen><userinput>mkdir -p /{bin,boot,dev/pts,etc/opt,home,lib,mnt,proc} &amp;&amp;
-mkdir -p /{root,sbin,tmp,usr/local,var,opt} &amp;&amp;
+<para><screen><userinput>mkdir -p /{bin,boot,dev/pts,etc/opt,home,lib,mnt,proc}
+mkdir -p /{root,sbin,tmp,usr/local,var,opt}
for dirname in /usr /usr/local
&nbsp;&nbsp;&nbsp;&nbsp;do
&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/{bin,etc,include,lib,sbin,share,src}
@@ -15,19 +15,19 @@ for dirname in /usr /usr/local
&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/share/{dict,doc,info,locale,man}
&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/share/{nls,misc,terminfo,zoneinfo}
&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/share/man/man{1,2,3,4,5,6,7,8}
-done &amp;&amp;
-mkdir /usr/lib/locale &amp;&amp;
-mkdir /var/{lock,log,mail,run,spool} &amp;&amp;
-mkdir -p /var/{tmp,opt,cache,lib/misc,local} &amp;&amp;
-mkdir /opt/{bin,doc,include,info} &amp;&amp;
-mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}} &amp;&amp;
+done
+mkdir /usr/lib/locale
+mkdir /var/{lock,log,mail,run,spool}
+mkdir -p /var/{tmp,opt,cache,lib/misc,local}
+mkdir /opt/{bin,doc,include,info}
+mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}
ln -s ../var/tmp /usr</userinput></screen></para>
<para>Directories are, by default, created with permission mode 755, but this
isn't desirable for all directories. We will make two changes: one to the home
directory of root, and another to the directories for temporary files.</para>
-<para><screen><userinput>chmod 0750 /root &amp;&amp;
+<para><screen><userinput>chmod 0750 /root
chmod 1777 /tmp /var/tmp</userinput></screen></para>
<para>The first mode change ensures that not just anybody can enter the
diff --git a/chapter06/diffutils-inst.xml b/chapter06/diffutils-inst.xml
index c845b456a..2f655113d 100644
--- a/chapter06/diffutils-inst.xml
+++ b/chapter06/diffutils-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml
index 0f4c620f9..7a77606d6 100644
--- a/chapter06/e2fsprogs-inst.xml
+++ b/chapter06/e2fsprogs-inst.xml
@@ -6,7 +6,7 @@
<para>It is recommended to build E2fsprogs outside of the
source tree:</para>
-<para><screen><userinput>mkdir ../e2fsprogs-build &amp;&amp;
+<para><screen><userinput>mkdir ../e2fsprogs-build
cd ../e2fsprogs-build</userinput></screen></para>
<para>Prepare E2fsprogs to be compiled:</para>
@@ -38,6 +38,8 @@ of.</para></listitem>
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Begin installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml
index 64c4e10bd..b34122bb2 100644
--- a/chapter06/ed-inst.xml
+++ b/chapter06/ed-inst.xml
@@ -27,6 +27,8 @@ temporary files.</para>
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml
index a0fe09251..4a54d0c40 100644
--- a/chapter06/findutils-inst.xml
+++ b/chapter06/findutils-inst.xml
@@ -16,6 +16,8 @@ option to <userinput>configure</userinput>.</para>
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml
index 69d315e93..c21aca04d 100644
--- a/chapter06/flex-inst.xml
+++ b/chapter06/flex-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make bigcheck</userinput></screen></para>
+
<para>Install the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml
index a05730321..3c5268a53 100644
--- a/chapter06/gawk-inst.xml
+++ b/chapter06/gawk-inst.xml
@@ -41,6 +41,8 @@ with its contents on a make uninstall.</para></listitem>
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 0d35d818c..a8fa65fdd 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -21,7 +21,7 @@ patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch</userinput></screen></para>
in a dedicated directory outside of the source tree. Create the build
directory:</para>
-<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
+<para><screen><userinput>mkdir ../gcc-build
cd ../gcc-build</userinput></screen></para>
<para>Prepare GCC to be compiled:</para>
@@ -29,8 +29,6 @@ cd ../gcc-build</userinput></screen></para>
<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-threads=posix \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-__cxa_atexit --enable-clocale=gnu \
-&nbsp;&nbsp;&nbsp;&nbsp;--mandir=/usr/share/man \
-&nbsp;&nbsp;&nbsp;&nbsp;--infodir=/usr/share/info \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++</userinput></screen></para>
<para>The meanings of the configure options are:</para>
diff --git a/chapter06/gettext-inst.xml b/chapter06/gettext-inst.xml
index 19d883e0e..dfaf8cf3d 100644
--- a/chapter06/gettext-inst.xml
+++ b/chapter06/gettext-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 6e2c78970..a44fedbc1 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -6,7 +6,7 @@
<para>The documentation that comes with Glibc recommends to build the package
not in the source directory but in a separate, dedicated directory:</para>
-<para><screen><userinput>mkdir ../glibc-build &amp;&amp;
+<para><screen><userinput>mkdir ../glibc-build
cd ../glibc-build</userinput></screen></para>
<para>Next, prepare Glibc to be compiled:</para>
@@ -14,8 +14,7 @@ cd ../glibc-build</userinput></screen></para>
<para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-profile --enable-add-ons \
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-headers=/usr/include \
-&nbsp;&nbsp;&nbsp;&nbsp;--mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--with-headers=/usr/include</userinput></screen></para>
<para>The meaning of the configure options are:</para>
diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml
index f34a045cc..474686e4b 100644
--- a/chapter06/grep-inst.xml
+++ b/chapter06/grep-inst.xml
@@ -12,6 +12,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml
index 6c95604d7..4a4b7549e 100644
--- a/chapter06/groff-inst.xml
+++ b/chapter06/groff-inst.xml
@@ -18,8 +18,8 @@
<para>Some groff/man document programs, such as <userinput>xman</userinput>,
will not work work properly without the following symlinks:</para>
-<para><screen><userinput>ln -s soelim /usr/bin/zsoelim &amp;&amp;
-ln -s eqn /usr/bin/geqn &amp;&amp;
+<para><screen><userinput>ln -s soelim /usr/bin/zsoelim
+ln -s eqn /usr/bin/geqn
ln -s tbl /usr/bin/gtbl</userinput></screen></para>
</sect2>
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 9022dfe96..1eb523511 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -11,7 +11,7 @@
be installed in the <filename class="directory">/bin</filename>
directory:</para>
-<para><screen><userinput>cp gzexe.in{,.backup} &amp;&amp;
+<para><screen><userinput>cp gzexe.in{,.backup}
sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in</userinput></screen></para>
<para>Continue with compiling the package:</para>
@@ -25,10 +25,10 @@ sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in</userinput></screen></para>
<para>Move the Gzip binaries to the <filename
class="directory">/bin</filename> directory:</para>
-<para><screen><userinput>mv /usr/bin/gzip /bin &amp;&amp;
-rm /usr/bin/{gunzip,zcat} &amp;&amp;
-ln -s gzip /bin/gunzip &amp;&amp;
-ln -s gzip /bin/zcat &amp;&amp;
+<para><screen><userinput>mv /usr/bin/gzip /bin
+rm /usr/bin/{gunzip,zcat}
+ln -s gzip /bin/gunzip
+ln -s gzip /bin/zcat
ln -s gunzip /bin/uncompress</userinput></screen></para>
</sect2>
diff --git a/chapter06/inetutils-inst.xml b/chapter06/inetutils-inst.xml
index 37cfff695..080ce8411 100644
--- a/chapter06/inetutils-inst.xml
+++ b/chapter06/inetutils-inst.xml
@@ -6,8 +6,7 @@
<para>Prepare Inetutils to be compiled:</para>
<para><screen><userinput>./configure --prefix=/usr --disable-syslogd \
-&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/sbin --infodir=/usr/share/info \
-&nbsp;&nbsp;&nbsp;&nbsp;--mandir=/usr/share/man --disable-logger</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/sbin --disable-logger</userinput></screen></para>
<para>The meanings of the configure options are:</para>
diff --git a/chapter06/kernel-inst.xml b/chapter06/kernel-inst.xml
index 734a75951..bd16795ef 100644
--- a/chapter06/kernel-inst.xml
+++ b/chapter06/kernel-inst.xml
@@ -43,7 +43,7 @@ symlink:</para>
<para>Install the platform specific-header files:</para>
-<para><screen><userinput>cp -HR include/asm /usr/include &amp;&amp;
+<para><screen><userinput>cp -HR include/asm /usr/include
cp -R include/asm-generic /usr/include</userinput></screen></para>
<para>Install the cross-platform kernel header files:</para>
diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml
index 8cd0e499c..4bf62e2ea 100644
--- a/chapter06/libtool-inst.xml
+++ b/chapter06/libtool-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml
index b1b9683cd..65d25e6d6 100644
--- a/chapter06/m4-inst.xml
+++ b/chapter06/m4-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml
index b71919d79..d3c7002c0 100644
--- a/chapter06/make-inst.xml
+++ b/chapter06/make-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml
index ac7423d34..f9bc0ae13 100644
--- a/chapter06/patch-inst.xml
+++ b/chapter06/patch-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml
index b65a177bc..70bb43ee3 100644
--- a/chapter06/perl-inst.xml
+++ b/chapter06/perl-inst.xml
@@ -18,6 +18,8 @@ above.</para>
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make test</userinput></screen></para>
+
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/sed-inst.xml b/chapter06/sed-inst.xml
index 4cfa45522..0007f5d6a 100644
--- a/chapter06/sed-inst.xml
+++ b/chapter06/sed-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index ba30a1a46..57a4266c4 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -18,7 +18,7 @@ shutdown and a record of bas login attempts.</para>
<para>Create these files with their proper permissions by running the
following commands:</para>
-<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} &amp;&amp;
+<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen></para>
<para>Shadow hard-codes the path to the passwd binary within itself, but
@@ -84,7 +84,7 @@ find them in them in the
<filename class="directory">/usr/lib</filename> directory. To account
for this, create the following symlinks:</para>
-<para><screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &amp;&amp;
+<para><screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen></para>
<para>Sh-utils and Shadow Password Suite each install a unique
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml
index 8ec1ffe00..8020695c4 100644
--- a/chapter06/sysvinit-inst.xml
+++ b/chapter06/sysvinit-inst.xml
@@ -13,7 +13,7 @@ signal".</para>
<para>Edit the halt message:</para>
-<para><screen><userinput>cp src/init.c{,.backup} &amp;&amp;
+<para><screen><userinput>cp src/init.c{,.backup}
sed 's/Sending processes/Sending processes started by init/g' \
&nbsp;&nbsp;&nbsp;&nbsp;src/init.c.backup &gt; src/init.c</userinput></screen></para>
diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml
index 5478202a7..07b462c50 100644
--- a/chapter06/tar-inst.xml
+++ b/chapter06/tar-inst.xml
@@ -12,6 +12,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Finish installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/texinfo-inst.xml b/chapter06/texinfo-inst.xml
index 51db2e43a..5d73d36d0 100644
--- a/chapter06/texinfo-inst.xml
+++ b/chapter06/texinfo-inst.xml
@@ -11,6 +11,8 @@
<para><screen><userinput>make</userinput></screen></para>
+<para><screen><userinput>make check</userinput></screen></para>
+
<para>Install the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml
index d3bb7afa5..d4065822f 100644
--- a/chapter06/utillinux-inst.xml
+++ b/chapter06/utillinux-inst.xml
@@ -7,9 +7,9 @@
usual /etc, as the location of the adjtime file. To make hwclock
FHS-compliant, run the following:</para>
-<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &amp;&amp;
+<para><screen><userinput>cp hwclock/hwclock.c{,.backup}
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
-&nbsp;&nbsp;&nbsp;&nbsp;hwclock/hwclock.c.backup &gt; hwclock/hwclock.c &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;hwclock/hwclock.c.backup &gt; hwclock/hwclock.c
mkdir -p /var/lib/hwclock</userinput></screen></para>
</sect2>
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml
index be9843265..97885db8c 100644
--- a/chapter06/zlib-inst.xml
+++ b/chapter06/zlib-inst.xml
@@ -21,10 +21,11 @@ quality in the dynamic zlib library.</para>
<para>Install the libraries:</para>
-<para><screen><userinput>make install &amp;&amp;
-make clean &amp;&amp;
-./configure --prefix=/usr &amp;&amp;
-make &amp;&amp;
+<para><screen><userinput>make install
+make clean
+./configure --prefix=/usr
+make
+make test
make install</userinput></screen></para>
<para>The shared zlib library should be installed in the