diff --git a/chapter05/gettext.xml b/chapter05/gettext.xml
index a8b59ea1e..4839256b7 100644
--- a/chapter05/gettext.xml
+++ b/chapter05/gettext.xml
@@ -44,7 +44,7 @@
Installation of Gettext
For our temporary set of tools, we only need to build and install
- one binary from Gettext.
+ three binaries from Gettext.
Prepare Gettext for compilation:
@@ -76,7 +76,9 @@ EMACS="no" ./configure --prefix=/tools --disable-shared
Compile the package:
make -C gnulib-lib
-make -C src msgfmt
+make -C src msgfmt
+make -C src msgmerge
+make -C src xgettext
As only one binary has been compiled, it is not possible to run the
test suite without compiling additional support libraries from the Gettext
@@ -85,7 +87,7 @@ make -C src msgfmt
Install the msgfmt binary:
-cp -v src/msgfmt /tools/bin
+cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin
diff --git a/chapter06/attr.xml b/chapter06/attr.xml
index 597ac4a06..b5e2fcfae 100644
--- a/chapter06/attr.xml
+++ b/chapter06/attr.xml
@@ -62,7 +62,7 @@
Install the package:
-make install install-dev install-lib &&
+make install install-dev install-lib
chmod -v 0755 /lib/libattr.so.1.1.0
Remove static library and libtool archive from
@@ -74,7 +74,7 @@ chmod -v 0755 /lib/libattr.so.1.1.0
Change default location for the libtool archive and recreate
symlink to shared library since it points to removed file:
-sed -i 's@/lib@/usr/lib@' /usr/lib/libattr.la &&
+sed -i 's@/lib@/usr/lib@' /usr/lib/libattr.la
ln -sfv ../../lib/libattr.so.1 /usr/lib/libattr.so
diff --git a/chapter06/expat.xml b/chapter06/expat.xml
index a7df8ee72..0ed85ac41 100644
--- a/chapter06/expat.xml
+++ b/chapter06/expat.xml
@@ -59,7 +59,7 @@
If desired, install the documentation:
-install -v -dm755 /usr/share/doc/expat-&expat-version; &&
+install -v -dm755 /usr/share/doc/expat-&expat-version;
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;
@@ -85,7 +85,6 @@ install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;
-
xmlwf
is a non-validating utility to check whether or not
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 12fa8b417..503c0159d 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -176,7 +176,7 @@ cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvcInstall the configuration file and runtime directory for
nscd:
-cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf &&
+cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf
mkdir -pv /var/cache/nscd
The locales that can make the system respond in a different language
diff --git a/chapter06/intltool.xml b/chapter06/intltool.xml
index 9c31a1206..148a41de2 100644
--- a/chapter06/intltool.xml
+++ b/chapter06/intltool.xml
@@ -55,7 +55,7 @@
Install the package:
-make install &&
+make install
install -v -m644 -D doc/I18N-HOWTO \
/usr/share/doc/intltool-&intltool-version;/I18N-HOWTO
diff --git a/chapter06/libcap.xml b/chapter06/libcap.xml
index f1fec6f3a..43f842fe8 100644
--- a/chapter06/libcap.xml
+++ b/chapter06/libcap.xml
@@ -51,7 +51,7 @@
Install the package:
-make RAISE_SETFCAP=no prefix=/usr install &&
+make RAISE_SETFCAP=no prefix=/usr install
chmod -v 0755 /usr/lib/libcap.so.2.22
The shared library needs to be moved to
@@ -59,7 +59,7 @@ chmod -v 0755 /usr/lib/libcap.so.2.22
.so file in
/usr/lib will need to be recreated:
-mv -v /usr/lib/libcap.so.* /lib &&
+mv -v /usr/lib/libcap.so.* /lib
ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so