[c88cfdd] | 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 |
|
---|
[b643cd8b] | 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">
|
---|
[61562907] | 11 | <!ENTITY autogen-md5sum "0871304953d219f7ad91a60fb1376271">
|
---|
[b643cd8b] | 12 | <!ENTITY autogen-size "920 KB">
|
---|
| 13 | <!ENTITY autogen-buildsize "15 MB">
|
---|
[f69944f] | 14 | <!ENTITY autogen-time "0.7 SBU">
|
---|
[c88cfdd] | 15 | ]>
|
---|
| 16 |
|
---|
[b643cd8b] | 17 | <sect1 id="autogen" xreflabel="AutoGen-&autogen-version;">
|
---|
[c88cfdd] | 18 | <?dbhtml filename="autogen.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
[b643cd8b] | 21 | <title>AutoGen-&autogen-version;</title>
|
---|
[c88cfdd] | 22 |
|
---|
| 23 | <indexterm zone="autogen">
|
---|
[b643cd8b] | 24 | <primary sortas="a-AutoGen">AutoGen</primary>
|
---|
[c88cfdd] | 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
[b643cd8b] | 28 | <title>Introduction to AutoGen</title>
|
---|
[c88cfdd] | 29 |
|
---|
[b643cd8b] | 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>
|
---|
[c88cfdd] | 36 |
|
---|
[f69944f] | 37 | &lfs71_checked;
|
---|
[c88cfdd] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[b643cd8b] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&autogen-download-http;"/>
|
---|
| 44 | </para>
|
---|
[c88cfdd] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[b643cd8b] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&autogen-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[c88cfdd] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[b643cd8b] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &autogen-md5sum;
|
---|
| 54 | </para>
|
---|
[c88cfdd] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[b643cd8b] | 57 | <para>
|
---|
| 58 | Download size: &autogen-size;
|
---|
| 59 | </para>
|
---|
[c88cfdd] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[b643cd8b] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &autogen-buildsize;
|
---|
| 64 | </para>
|
---|
[c88cfdd] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[b643cd8b] | 67 | <para>
|
---|
| 68 | Estimated build time: &autogen-time;
|
---|
| 69 | </para>
|
---|
[c88cfdd] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[b643cd8b] | 73 | <bridgehead renderas="sect3">AutoGen Dependencies</bridgehead>
|
---|
[c88cfdd] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b643cd8b] | 76 | <para role="required">
|
---|
| 77 | <xref linkend="guile"/> and
|
---|
| 78 | <xref linkend="libxml2"/>
|
---|
| 79 | </para>
|
---|
[c88cfdd] | 80 |
|
---|
| 81 | <para condition="html" role="usernotes">User Notes:
|
---|
[b643cd8b] | 82 | <ulink url="&blfs-wiki;/autogen"/>
|
---|
| 83 | </para>
|
---|
[c88cfdd] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
[b643cd8b] | 87 | <title>Installation of AutoGen</title>
|
---|
[c88cfdd] | 88 |
|
---|
[b643cd8b] | 89 | <para>
|
---|
| 90 | Install <application>AutoGen</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
[c88cfdd] | 93 |
|
---|
[b643cd8b] | 94 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[c88cfdd] | 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
[b643cd8b] | 97 | <para>
|
---|
| 98 | To test the results, issue: <command>make check</command>.
|
---|
| 99 | </para>
|
---|
[c88cfdd] | 100 |
|
---|
[b643cd8b] | 101 | <para>
|
---|
| 102 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 103 | </para>
|
---|
[c88cfdd] | 104 |
|
---|
| 105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="commands">
|
---|
| 110 | <title>Command Explanations</title>
|
---|
| 111 |
|
---|
[b643cd8b] | 112 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 113 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c88cfdd] | 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>
|
---|
[b643cd8b] | 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>
|
---|
[c88cfdd] | 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>
|
---|
[b643cd8b] | 147 | <para>
|
---|
[0d7900a] | 148 | is designed for generating program files that contain
|
---|
[b643cd8b] | 149 | repetitive text with varied substitutions.
|
---|
| 150 | </para>
|
---|
[c88cfdd] | 151 | <indexterm zone="autogen autogen-prog">
|
---|
[b643cd8b] | 152 | <primary sortas="b-autogen">autogen</primary>
|
---|
[c88cfdd] | 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="autoopts-config">
|
---|
| 158 | <term><command>autoopts-config</command></term>
|
---|
| 159 | <listitem>
|
---|
[b643cd8b] | 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>
|
---|
[c88cfdd] | 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>
|
---|
[b643cd8b] | 174 | <para>
|
---|
| 175 | is used to columnize input text.
|
---|
| 176 | </para>
|
---|
[c88cfdd] | 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>
|
---|
[b643cd8b] | 186 | <para>
|
---|
| 187 | is used to extract <application>AutoGen</application> definitions
|
---|
| 188 | from a list of source files.
|
---|
| 189 | </para>
|
---|
[c88cfdd] | 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>
|
---|
[b643cd8b] | 199 | <para>
|
---|
| 200 | is used to convert any arbitrary XML file into equivalent
|
---|
| 201 | <application>AutoGen</application> definitions.
|
---|
| 202 | </para>
|
---|
[c88cfdd] | 203 | <indexterm zone="autogen xml2ag">
|
---|
| 204 | <primary sortas="b-xml2ag">xml2ag</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="libopts">
|
---|
[b643cd8b] | 210 | <term><filename class='libraryfile'>libopts.so</filename></term>
|
---|
[c88cfdd] | 211 | <listitem>
|
---|
[b643cd8b] | 212 | <para>
|
---|
| 213 | is an automated option processing library based on
|
---|
| 214 | <application>AutoGen</application>.
|
---|
| 215 | </para>
|
---|
[c88cfdd] | 216 | <indexterm zone="autogen libopts">
|
---|
[b643cd8b] | 217 | <primary sortas="c-libopts">libopts.so</primary>
|
---|
[c88cfdd] | 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | </variablelist>
|
---|
| 223 |
|
---|
| 224 | </sect2>
|
---|
| 225 |
|
---|
| 226 | </sect1>
|
---|