Selaa lähdekoodia

Fixed generation of diff's man page, fixes #1800.
Thanks Randy McMurchy for the report and Ken Moffat for the fix.
Also, some slight wording adjustments on the Shadow page.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7627 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Jeremy Huntwork 19 vuotta sitten
vanhempi
commit
e6c8119c85
4 muutettua tiedostoa jossa 22 lisäystä ja 4 poistoa
  1. 11 0
      chapter01/changelog.xml
  2. 8 0
      chapter06/diffutils.xml
  3. 1 2
      chapter06/shadow.xml
  4. 2 2
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -36,6 +36,17 @@
     </listitem>
 -->
 
+    <listitem>
+      <para>May 25, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jhuntwork] - Fixed generation of diff's man page.
+	  Thanks Randy McMurchy for the report and Ken Moffat for the fix.
+	  Fixes #1800.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>May 22, 2006</para>
       <itemizedlist>

+ 8 - 0
chapter06/diffutils.xml

@@ -41,6 +41,14 @@
 
 <screen><userinput>patch -Np1 -i ../&diffutils-i18n-patch;</userinput></screen>
 
+    <para>The above patch will cause the Diffutils build system to attempt to
+    rebuild the <filename>diff.1</filename> man page using the unavailable
+    program <command>help2man</command>. The result is an unreadable man page for
+    <command>diff</command>. We can avoid this by updating the timestamp on
+    the file <filename>man/diff.1</filename>:</para>
+
+<screen><userinput>touch man/diff.1</userinput></screen>
+
     <para>Prepare Diffutils for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr</userinput></screen>

+ 1 - 2
chapter06/shadow.xml

@@ -131,8 +131,7 @@ convert-mans UTF-8 ISO-8859-9 man/tr/*.?</userinput></screen>
     etc/login.defs &gt; /etc/login.defs</userinput></screen>
 
     <note>
-      <para>If you built Shadow with Cracklib support, insert the following into
-      the <command>sed</command> given below:</para>
+     <para>If you built Shadow with Cracklib support, run the following:</para>
 
 <screen><literal>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs</literal></screen>
     </note>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20060522">
-<!ENTITY releasedate "May 22, 2006">
+<!ENTITY version "SVN-20060525">
+<!ENTITY releasedate "May 25, 2006">
 <!ENTITY milestone "6.2">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->