summaryrefslogtreecommitdiffstats
path: root/doc/scripts/man-adddebug.1.docbook
blob: 9069b486ce5f9e9bd5991456fd1367b7aba1bf3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" ?>
<!DOCTYPE refentry PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY % English "INCLUDE">
]>

<refentry lang="&language;">
<refentryinfo>
<author><personname><firstname>Ben</firstname><surname>Burton</surname></personname>
<email>bab@debian.org</email></author>
<date>March 7, 2003</date>
</refentryinfo>

<refmeta>
<refentrytitle><command>addebug</command></refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>

<refnamediv>
<refname><command>addebug</command></refname>
<refpurpose>Modifies <filename>Makefile</filename>(s) to add debug info</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>adddebug</command>
<group><option>-k</option></group>
<group><option>-r</option></group>
<group><option>-n</option></group>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1>
<title>Description</title>

<para><command>adddebug</command> modifies the
<filename>Makefile</filename> in the current directory (and optionally
in its subdirectories) to add debug info (<option>-g3</option>). It
will also remove optimisations (<option>-O[1-9]</option>).</para>

<para>This utility is part of the &kde; Software Development Kit.</para>

</refsect1>

<refsect1>
<title>Options</title>

<variablelist>
<varlistentry>
<term><option>-k</option></term>
<listitem><para>Keep optimisations (do not remove <option>-O[1-9]?</option> flags which are removed by default).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-r</option></term>
<listitem>
<para>Recursively search through all subdirectories of the current directory and operate on every <filename>Makefile</filename> that is found. </para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-n</option></term>
<listitem><para>compile without NDEBUG and NO_DEBUG being defined (makes <function>kdDebug</function> calls work)</para></listitem>
</varlistentry>
</variablelist>
</refsect1>

</refentry>