[6370fa6] | 1 | <sect1 id="ch06-texinfo">
|
---|
[793c2f7] | 2 | <title>Installing Texinfo-&texinfo-version;</title>
|
---|
[576e206] | 3 | <?dbhtml filename="texinfo.html" dir="chapter06"?>
|
---|
[6370fa6] | 4 |
|
---|
[b822811] | 5 | <screen>Estimated build time: &texinfo-time;
|
---|
[6403026] | 6 | Estimated required disk space: &texinfo-compsize;</screen>
|
---|
[3554fa3a] | 7 |
|
---|
[b2933b9] | 8 | &aa-texinfo-shortdesc;
|
---|
[d0dfce4] | 9 | &aa-texinfo-dep;
|
---|
[73aedd1d] | 10 |
|
---|
| 11 | <sect2><title> </title><para> </para></sect2>
|
---|
| 12 |
|
---|
| 13 | <sect2>
|
---|
| 14 | <title>Installation of Texinfo</title>
|
---|
| 15 |
|
---|
| 16 | <para>Prepare Texinfo for compilation:</para>
|
---|
| 17 |
|
---|
| 18 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 19 |
|
---|
| 20 | <para>Compile the package:</para>
|
---|
| 21 |
|
---|
| 22 | <screen><userinput>make</userinput></screen>
|
---|
| 23 |
|
---|
| 24 | <para>This package has a test suite available which can perform a number of
|
---|
| 25 | checks to ensure it built correctly. Should you choose to run it, the
|
---|
| 26 | following command will do so:</para>
|
---|
| 27 |
|
---|
| 28 | <screen><userinput>make check</userinput></screen>
|
---|
| 29 |
|
---|
| 30 | <para>Install the package:</para>
|
---|
| 31 |
|
---|
| 32 | <screen><userinput>make install</userinput></screen>
|
---|
| 33 |
|
---|
| 34 | <para>And optionally install the components belonging in a TeX installation:</para>
|
---|
| 35 |
|
---|
| 36 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
| 37 |
|
---|
[5763f675] | 38 | <para>The meaning of the make parameter:</para>
|
---|
[73aedd1d] | 39 |
|
---|
| 40 | <itemizedlist>
|
---|
| 41 | <listitem><para><userinput>TEXMF=/usr/share/texmf</userinput>: The TEXMF
|
---|
| 42 | makefile variable holds the location of the root of your TeX tree if, for
|
---|
| 43 | example, you plan to install a TeX package later on.</para></listitem>
|
---|
| 44 | </itemizedlist>
|
---|
| 45 |
|
---|
[554b366] | 46 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
| 47 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
| 48 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
| 49 | it can sometimes get out of step with the Info manuals actually installed on the
|
---|
| 50 | system. If ever you need to recreate the
|
---|
| 51 | <filename>/usr/share/info/dir</filename> file, the following optional commands
|
---|
| 52 | will accomplish the task:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput>cd /usr/share/info
|
---|
| 55 | rm dir
|
---|
| 56 | for f in *
|
---|
| 57 | do install-info $f dir 2>/dev/null
|
---|
| 58 | done</userinput></screen>
|
---|
| 59 |
|
---|
[73aedd1d] | 60 | </sect2>
|
---|
[6370fa6] | 61 |
|
---|
| 62 | </sect1>
|
---|
[73aedd1d] | 63 |
|
---|