Просмотр исходного кода

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
Matthew Burgess 20 лет назад
Родитель
Сommit
0c78fca937
2 измененных файлов с 11 добавлено и 0 удалено
  1. 4 0
      chapter01/changelog.xml
  2. 7 0
      chapter06/sed.xml

+ 4 - 0
chapter01/changelog.xml

@@ -113,6 +113,10 @@ First a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>August 16th, 2005 [matt]: Install sed's man page to
+/usr/share/doc/sed-4.1.4 instead of /usr/share/doc (fixes bug 1600).</para>
+</listitem>
+
 <listitem><para>August 16th, 2005 [matt]: Upgraded to linux-2.6.12.5.</para>
 </listitem>
 

+ 7 - 0
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>