aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-08-16 20:44:11 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-08-16 20:44:11 +0000
commit0c78fca93799c4bd367e99a461a29eafcbd60240 (patch)
tree0b18bacbed61a15d6a67733d9657338bea52661c /chapter06
parent31edd8e9e420b3bc83be00bbcdfe2ffad71b0090 (diff)
Install sed's man page to /usr/share/doc/sed-4.1.4 instead of /usr/share/doc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6696 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/sed.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/sed.xml b/chapter06/sed.xml
index e00d1fda0..bdc7a7fc7 100644
--- a/chapter06/sed.xml
+++ b/chapter06/sed.xml
@@ -30,6 +30,13 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Texinfo</seg></seglistitem>
<sect2 role="installation">
<title>Installation of Sed</title>
+<para>By default, Sed installs its man page in
+<filename class="directory">/usr/share/doc</filename>. Alter this to
+<filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
+applying the following <command>sed</command>:</para>
+
+<screen><userinput>sed -i 's@/doc@&amp;/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
+
<para>Prepare Sed for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>