source: clfs-sysroot/BOOK/final-system/common/texinfo.xml

Last change on this file was 12e6567, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Added a sysroot wrapper.
Updated the build variables section of the book, each package uses its own.

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-texinfo" role="wrap">
9 <?dbhtml filename="texinfo.html"?>
10
11 <title>Texinfo-&texinfo-version;</title>
12
13 <indexterm zone="ch-system-texinfo">
14 <primary sortas="a-Texinfo">Texinfo</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Texinfo package contains programs for reading, writing, and
21 converting info pages.</para>
22
23 </sect2>
24
25 &env-target;
26
27 <sect2 role="installation">
28 <title>Installation of Texinfo</title>
29
30 <para os="p1">The following patch will add support for new compressors like XZ Utils:</para>
31
32<screen os="p2"><userinput>patch -Np1 -i ../&texinfo-new_compressors-patch;</userinput></screen>
33
34 <para os="a">Prepare Texinfo for compilation:</para>
35
36<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
37 --prefix=/usr</userinput></screen>
38
39 <para os="c">Compile the package:</para>
40
41<screen os="d"><userinput>make -C tools/gnulib/lib
42make -C tools
43make</userinput></screen>
44
45 <para os="e">Install the package:</para>
46
47<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
48
49 <para os="g">The Info documentation system uses a plain text file to hold
50 its list of menu entries. The file is located at
51 <filename>/usr/share/info/dir</filename>. Unfortunately, due to occasional
52 problems in the Makefiles of various packages, it can sometimes get out of
53 sync with the info pages installed on the system. If the
54 <filename>/usr/share/info/dir</filename> file ever needs to be recreated,
55 the following optional commands will accomplish the task:</para>
56
57<screen os="h" role="nodump"><userinput>cd ${CLFS}/usr/share/info
58rm dir
59for f in *
60do install-info ${f} dir 2&gt;/dev/null
61done</userinput></screen>
62
63 </sect2>
64
65 <sect2 id="contents-texinfo" role="content">
66 <title>Contents of Texinfo</title>
67
68 <segmentedlist>
69 <segtitle>Installed programs</segtitle>
70
71 <seglistitem>
72 <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf,
73 and texindex</seg>
74 </seglistitem>
75 </segmentedlist>
76
77 <variablelist>
78 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
79 <?dbfo list-presentation="list"?>
80 <?dbhtml list-presentation="table"?>
81
82 <varlistentry id="info">
83 <term><command>info</command></term>
84 <listitem>
85 <para>Used to read info pages which are similar to man
86 pages, but often go much deeper than just explaining all the command
87 line options. For example, compare <command>man bison</command> and
88 <command>info bison</command>.</para>
89 <indexterm zone="ch-system-texinfo info">
90 <primary sortas="b-info">info</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="infokey">
96 <term><command>infokey</command></term>
97 <listitem>
98 <para>Compiles a source file containing Info customizations into a
99 binary format</para>
100 <indexterm zone="ch-system-texinfo infokey">
101 <primary sortas="b-infokey">infokey</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 <varlistentry id="install-info">
107 <term><command>install-info</command></term>
108 <listitem>
109 <para>Used to install info pages; it updates entries in the
110 <command>info</command> index file</para>
111 <indexterm zone="ch-system-texinfo install-info">
112 <primary sortas="b-install-info">install-info</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="makeinfo">
118 <term><command>makeinfo</command></term>
119 <listitem>
120 <para>Translates the given Texinfo source documents into
121 info pages, plain text, or HTML</para>
122 <indexterm zone="ch-system-texinfo makeinfo">
123 <primary sortas="b-makeinfo">makeinfo</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry id="texi2dvi">
129 <term><command>texi2dvi</command></term>
130 <listitem>
131 <para>Used to format the given Texinfo document into a
132 device-independent file that can be printed</para>
133 <indexterm zone="ch-system-texinfo texi2dvi">
134 <primary sortas="b-texi2dvi">texi2dvi</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="texi2pdf">
140 <term><command>texi2pdf</command></term>
141 <listitem>
142 <para>Used to format the given Texinfo document into a
143 Portable Document Format (PDF) file</para>
144 <indexterm zone="ch-system-texinfo texi2pdf">
145 <primary sortas="b-texi2pdf">texi2pdf</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="texindex">
151 <term><command>texindex</command></term>
152 <listitem>
153 <para>Used to sort Texinfo index files</para>
154 <indexterm zone="ch-system-texinfo texindex">
155 <primary sortas="b-texindex">texindex</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 </variablelist>
161
162 </sect2>
163
164</sect1>
Note: See TracBrowser for help on using the repository browser.