aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-11-17 04:03:27 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-11-17 04:03:27 +0000
commit554b3660c95e80522befbb3ad5ab25bee047718a (patch)
tree7d01e26593281923ae3c7b372a5575a7925905a9 /chapter06
parentd0dfce439ef2f3bfcd88ab9e69e6ad1956dfcd77 (diff)
Chapter 6 - Texinfo: Added note about how to recreate the /usr/share/info/dir file if needed. Closes Bug 485.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3108 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/texinfo.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml
index a3d5cadd2..152dbb033 100644
--- a/chapter06/texinfo.xml
+++ b/chapter06/texinfo.xml
@@ -43,6 +43,20 @@ makefile variable holds the location of the root of your TeX tree if, for
example, you plan to install a TeX package later on.</para></listitem>
</itemizedlist>
+<para>The Info documentation system uses a plain text file to hold its list of
+menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
+Unfortunately, due to occasional problems in the Makefiles of various packages,
+it can sometimes get out of step with the Info manuals actually installed on the
+system. If ever you need to recreate the
+<filename>/usr/share/info/dir</filename> file, the following optional commands
+will accomplish the task:</para>
+
+<screen><userinput>cd /usr/share/info
+rm dir
+for f in *
+do install-info $f dir 2>/dev/null
+done</userinput></screen>
+
</sect2>
</sect1>