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 | <!ENTITY autogen-download-http
|
---|
8 | "http://ftp.gnu.org/gnu/autogen/rel&autogen-version;/autogen-&autogen-version;.tar.xz">
|
---|
9 | <!ENTITY autogen-download-ftp
|
---|
10 | "ftp://ftp.gnu.org/gnu/autogen/rel&autogen-version;/autogen-&autogen-version;.tar.xz">
|
---|
11 | <!ENTITY autogen-md5sum "0871304953d219f7ad91a60fb1376271">
|
---|
12 | <!ENTITY autogen-size "920 KB">
|
---|
13 | <!ENTITY autogen-buildsize "15 MB">
|
---|
14 | <!ENTITY autogen-time "0.7 SBU">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="autogen" xreflabel="AutoGen-&autogen-version;">
|
---|
18 | <?dbhtml filename="autogen.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>AutoGen-&autogen-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="autogen">
|
---|
27 | <primary sortas="a-AutoGen">AutoGen</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to AutoGen</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>AutoGen</application> is a tool designed to simplify the
|
---|
35 | creation and maintenance of programs that contain large amounts of
|
---|
36 | repetitious text. It is especially valuable in programs that have
|
---|
37 | several blocks of text that must be kept synchronized.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs71_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&autogen-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&autogen-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &autogen-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &autogen-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &autogen-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &autogen-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">AutoGen Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="guile"/> and
|
---|
81 | <xref linkend="libxml2"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">User Notes:
|
---|
85 | <ulink url="&blfs-wiki;/autogen"/>
|
---|
86 | </para>
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of AutoGen</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Install <application>AutoGen</application> by running the following
|
---|
94 | commands:
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
98 | make</userinput></screen>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | To test the results, issue: <command>make check</command>.
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="commands">
|
---|
113 | <title>Command Explanations</title>
|
---|
114 |
|
---|
115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
116 | href="../../xincludes/static-libraries.xml"/>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="content">
|
---|
121 | <title>Contents</title>
|
---|
122 |
|
---|
123 | <segmentedlist>
|
---|
124 | <segtitle>Installed Programs</segtitle>
|
---|
125 | <segtitle>Installed Library</segtitle>
|
---|
126 | <segtitle>Installed Directories</segtitle>
|
---|
127 |
|
---|
128 | <seglistitem>
|
---|
129 | <seg>
|
---|
130 | autogen, autoopts-config, columns, getdefs and xml2ag
|
---|
131 | </seg>
|
---|
132 | <seg>
|
---|
133 | libopts.so
|
---|
134 | </seg>
|
---|
135 | <seg>
|
---|
136 | /usr/include/autoopts and
|
---|
137 | /usr/share/autogen
|
---|
138 | </seg>
|
---|
139 | </seglistitem>
|
---|
140 | </segmentedlist>
|
---|
141 |
|
---|
142 | <variablelist>
|
---|
143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
144 | <?dbfo list-presentation="list"?>
|
---|
145 | <?dbhtml list-presentation="table"?>
|
---|
146 |
|
---|
147 | <varlistentry id="autogen-prog">
|
---|
148 | <term><command>autogen</command></term>
|
---|
149 | <listitem>
|
---|
150 | <para>
|
---|
151 | is designed for generating program files that contain
|
---|
152 | repetitive text with varied substitutions.
|
---|
153 | </para>
|
---|
154 | <indexterm zone="autogen autogen-prog">
|
---|
155 | <primary sortas="b-autogen">autogen</primary>
|
---|
156 | </indexterm>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | <varlistentry id="autoopts-config">
|
---|
161 | <term><command>autoopts-config</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>
|
---|
164 | is a tool that is used by configure to determine the compiler and
|
---|
165 | linker flags that should be used to compile and link programs that
|
---|
166 | use <application>AutoOpts</application>.
|
---|
167 | </para>
|
---|
168 | <indexterm zone="autogen autoopts-config">
|
---|
169 | <primary sortas="b-autoopts-config">autoopts-config</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="columns">
|
---|
175 | <term><command>columns</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>
|
---|
178 | is used to columnize input text.
|
---|
179 | </para>
|
---|
180 | <indexterm zone="autogen columns">
|
---|
181 | <primary sortas="b-columns">columns</primary>
|
---|
182 | </indexterm>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 |
|
---|
186 | <varlistentry id="getdefs">
|
---|
187 | <term><command>getdefs</command></term>
|
---|
188 | <listitem>
|
---|
189 | <para>
|
---|
190 | is used to extract <application>AutoGen</application> definitions
|
---|
191 | from a list of source files.
|
---|
192 | </para>
|
---|
193 | <indexterm zone="autogen getdefs">
|
---|
194 | <primary sortas="b-getdefs">getdefs</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="xml2ag">
|
---|
200 | <term><command>xml2ag</command></term>
|
---|
201 | <listitem>
|
---|
202 | <para>
|
---|
203 | is used to convert any arbitrary XML file into equivalent
|
---|
204 | <application>AutoGen</application> definitions.
|
---|
205 | </para>
|
---|
206 | <indexterm zone="autogen xml2ag">
|
---|
207 | <primary sortas="b-xml2ag">xml2ag</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="libopts">
|
---|
213 | <term><filename class='libraryfile'>libopts.so</filename></term>
|
---|
214 | <listitem>
|
---|
215 | <para>
|
---|
216 | is an automated option processing library based on
|
---|
217 | <application>AutoGen</application>.
|
---|
218 | </para>
|
---|
219 | <indexterm zone="autogen libopts">
|
---|
220 | <primary sortas="c-libopts">libopts.so</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | </variablelist>
|
---|
226 |
|
---|
227 | </sect2>
|
---|
228 |
|
---|
229 | </sect1>
|
---|