[faa80ab] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY doxygen-download-http " ">
|
---|
| 8 | <!ENTITY doxygen-download-ftp "ftp://ftp.stack.nl/pub/users/dimitri/doxygen-&doxygen-version;.src.tar.gz">
|
---|
| 9 | <!ENTITY doxygen-size "2.7 MB">
|
---|
[2ce558b1] | 10 | <!ENTITY doxygen-buildsize "48.2 MB">
|
---|
| 11 | <!ENTITY doxygen-time "1.77 SBU (includes building documentation)">
|
---|
[faa80ab] | 12 | ]>
|
---|
| 13 |
|
---|
[cef3a2f] | 14 | <sect1 id="doxygen" xreflabel="Doxygen-&doxygen-version;">
|
---|
[faa80ab] | 15 | <sect1info>
|
---|
| 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
| 18 | </sect1info>
|
---|
| 19 | <?dbhtml filename="doxygen.html"?>
|
---|
| 20 | <title>Doxygen-&doxygen-version;</title>
|
---|
[cef3a2f] | 21 | <indexterm zone="doxygen">
|
---|
[2ce558b1] | 22 | <primary sortas="a-Doxygen">Doxygen</primary></indexterm>
|
---|
[faa80ab] | 23 |
|
---|
| 24 | <sect2>
|
---|
| 25 | <title>Introduction to <application>Doxygen</application></title>
|
---|
| 26 |
|
---|
| 27 | <para>The <application>Doxygen</application> package contains a documentation
|
---|
| 28 | system for C++, C, Java, Objective-C, Corba IDL and to some extent PHP, C#
|
---|
| 29 | and D. This is useful for generating <acronym>HTML</acronym> documentation
|
---|
| 30 | and/or an off-line reference manual from a set of documented source files.
|
---|
| 31 | There is also support for generating output in <acronym>RTF</acronym>,
|
---|
| 32 | PostScript, hyperlinked <acronym>PDF</acronym>, compressed
|
---|
| 33 | <acronym>HTML</acronym>, and Unix man pages. The documentation is extracted
|
---|
| 34 | directly from the sources, which makes it much easier to keep the
|
---|
| 35 | documentation consistent with the source code.</para>
|
---|
| 36 |
|
---|
| 37 | <para>You can also configure <application>Doxygen</application> to extract the
|
---|
| 38 | code structure from undocumented source files. This is very useful to quickly
|
---|
| 39 | find your way in large source distributions. Used along with
|
---|
| 40 | <application>GraphViz</application>, you can also visualize the relations
|
---|
| 41 | between the various elements by means of include dependency graphs,
|
---|
| 42 | inheritance diagrams, and collaboration diagrams, which are all generated
|
---|
| 43 | automatically.</para>
|
---|
| 44 |
|
---|
| 45 | <sect3><title>Package information</title>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
[2ce558b1] | 47 | <listitem><para>Download (HTTP):
|
---|
| 48 | <ulink url="&doxygen-download-http;"/></para></listitem>
|
---|
| 49 | <listitem><para>Download (FTP):
|
---|
| 50 | <ulink url="&doxygen-download-ftp;"/></para></listitem>
|
---|
[faa80ab] | 51 | <listitem><para>Download size: &doxygen-size;</para></listitem>
|
---|
[2ce558b1] | 52 | <listitem><para>Estimated disk space required:
|
---|
| 53 | &doxygen-buildsize;</para></listitem>
|
---|
| 54 | <listitem><para>Estimated build time:
|
---|
| 55 | &doxygen-time;</para></listitem></itemizedlist>
|
---|
[faa80ab] | 56 | </sect3>
|
---|
| 57 |
|
---|
| 58 | <sect3><title><application>Doxygen</application> dependencies</title>
|
---|
| 59 | <sect4><title>Optional</title>
|
---|
| 60 | <para><xref linkend="qt"/>,
|
---|
[775c349a] | 61 | <xref linkend="python"/>,
|
---|
[03d51788] | 62 | <xref linkend="tex"/>,
|
---|
[faa80ab] | 63 | <xref linkend="gs"/> or <xref linkend="espgs"/>, and
|
---|
| 64 | <ulink url="http://www.graphviz.org/">GraphViz</ulink></para>
|
---|
| 65 | </sect4>
|
---|
| 66 | </sect3>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2>
|
---|
| 71 | <title>Installation of <application>Doxygen</application></title>
|
---|
| 72 |
|
---|
| 73 | <para>Install <application>Doxygen</application> by running the following
|
---|
| 74 | commands:</para>
|
---|
| 75 |
|
---|
| 76 | <screen><userinput><command>rm src/unistd.h &&
|
---|
| 77 | ./configure --prefix /usr --docdir /usr/share/doc &&
|
---|
[d260aaf4] | 78 | make</command></userinput></screen>
|
---|
| 79 |
|
---|
| 80 | <para>Now, as the root user:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[faa80ab] | 83 |
|
---|
| 84 | <para>If you wish to generate and install the package documentation, ensure
|
---|
| 85 | the Python, TeX and Graphviz packages are installed, then substitute the
|
---|
| 86 | following commands for the <command>make install</command> command above:</para>
|
---|
| 87 |
|
---|
[d260aaf4] | 88 | <screen><userinput role='root'><command>make docs &&
|
---|
[faa80ab] | 89 | make pdf &&
|
---|
| 90 | install -d -m755 /usr/share/doc/doxygen/src &&
|
---|
| 91 | install -m644 src/translator{,_adapter,_en}.h \
|
---|
| 92 | /usr/share/doc/doxygen/src &&
|
---|
| 93 | install -m644 VERSION /usr/share/doc/doxygen &&
|
---|
| 94 | make install_docs</command></userinput></screen>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2>
|
---|
| 99 | <title>Command explanations</title>
|
---|
| 100 |
|
---|
| 101 | <para><command>rm src/unistd.h</command>: There is a bug in
|
---|
| 102 | <application>Flex</application>-2.5.31 which causes <command>make</command> to
|
---|
| 103 | use this file instead of the system installed version. Removing this file
|
---|
| 104 | allows the <acronym>GUI</acronym> front-end to build successfully.</para>
|
---|
| 105 |
|
---|
| 106 | <para><option>--with-doxywizard</option>: Use this parameter if
|
---|
| 107 | <application>Qt</application> is installed and you wish to build the
|
---|
| 108 | <acronym>GUI</acronym> front-end.</para>
|
---|
| 109 |
|
---|
| 110 | <para><command>make docs</command>: This command builds the
|
---|
| 111 | <acronym>HTML</acronym> documentation.</para>
|
---|
| 112 |
|
---|
| 113 | <para><command>make pdf</command>: This command builds a
|
---|
| 114 | <acronym>PDF</acronym> version of the <application>Doxygen</application>
|
---|
| 115 | Manual.</para>
|
---|
| 116 |
|
---|
| 117 | <para><command>install ...</command>: These commands install some files
|
---|
| 118 | required by the documentation installation.</para>
|
---|
| 119 |
|
---|
| 120 | <para><emphasis>Note: For documentation in a language other than English,
|
---|
| 121 | replace the <quote>_en</quote> with the country code of your
|
---|
| 122 | locale.</emphasis></para>
|
---|
| 123 |
|
---|
| 124 | <para><command>make install_docs</command>: This command installs the binaries
|
---|
| 125 | and documentation.</para>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2>
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
[2ce558b1] | 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
| 134 | <segtitle>Installed Directory</segtitle>
|
---|
| 135 | <seglistitem>
|
---|
| 136 | <seg>doxygen, doxytag and doxywizard</seg>
|
---|
| 137 | <seg>/usr/share/doc/doxygen</seg>
|
---|
| 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | <variablelist>
|
---|
| 142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 143 | <?dbfo list-presentation="list"?>
|
---|
| 144 |
|
---|
[cef3a2f] | 145 | <varlistentry id="doxygen-prog">
|
---|
[2ce558b1] | 146 | <term><command>doxygen</command></term>
|
---|
| 147 | <listitem><para>is a command-line based utility used to generate template
|
---|
| 148 | configuration files and then generate documentation from these templates. Use
|
---|
| 149 | <command>doxygen --help</command> for an explanation of the command-line
|
---|
| 150 | parameters.</para>
|
---|
[cef3a2f] | 151 | <indexterm zone="doxygen doxygen-prog">
|
---|
[2ce558b1] | 152 | <primary sortas="b-doxygen">doxygen</primary></indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="doxytag">
|
---|
| 157 | <term><command>doxytag</command></term>
|
---|
| 158 | <listitem><para>is used to generate a tag file and/or a search index for a set
|
---|
| 159 | of <acronym>HTML</acronym> files.</para>
|
---|
[cef3a2f] | 160 | <indexterm zone="doxygen doxytag">
|
---|
[2ce558b1] | 161 | <primary sortas="b-doxytag">doxytag</primary></indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="doxywizard">
|
---|
| 166 | <term><command>doxywizard</command></term>
|
---|
| 167 | <listitem><para>is a <acronym>GUI</acronym> front-end for configuring and
|
---|
| 168 | running <command>doxygen</command>.</para>
|
---|
[cef3a2f] | 169 | <indexterm zone="doxygen doxywizard">
|
---|
[2ce558b1] | 170 | <primary sortas="b-doxywizard">doxywizard</primary></indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 | </variablelist>
|
---|
[faa80ab] | 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | </sect1>
|
---|
| 178 |
|
---|