diff --git a/chapter06/attr.xml b/chapter06/attr.xml
index 1497ebfdb..f81df844c 100644
--- a/chapter06/attr.xml
+++ b/chapter06/attr.xml
@@ -143,7 +143,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so
libattr
- Contains the libbrary functions for manipulating extended attributes
+ Contains the library functions for manipulating extended attributes
libattr
diff --git a/chapter06/expat.xml b/chapter06/expat.xml
index 7b71c8481..e8450e674 100644
--- a/chapter06/expat.xml
+++ b/chapter06/expat.xml
@@ -47,7 +47,9 @@
Prepare Expat for compilation:
-./configure --prefix=/usr --disable-static
+./configure --prefix=/usr \
+ --disable-static \
+ --docdir=/usr/share/doc/expat-&expat-version;
Compile the package:
@@ -63,8 +65,7 @@
If desired, install the documentation:
-install -v -dm755 /usr/share/doc/expat-&expat-version;
-install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;
+install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 4055d4857..2e12dabac 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -85,7 +85,7 @@
flex, flex++ (link to flex), and lex (link to flex)
- libfl.so and libfl_pic.so
+ libfl.so
/usr/share/doc/flex-&flex-version;
@@ -121,7 +121,7 @@
lex
- A script that runs flex in
+ A symbolic link that runs flex in
lex emulation mode
lex