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