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