You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesdk/doc/man/scripts/adddebug.1

46 lines
1.6 KiB

.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH ADDDEBUG 1 "January 31, 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
adddebug \- modifies Makefile(s) to add debug info
.SH SYNOPSIS
.B adddebug
.RB "[ " \-k " ] [ " \-n " ] [ " \-r " ]"
.SH DESCRIPTION
\fBadddebug\fP modifies the \fIMakefile\fP in the current directory
(and optionally in its subdirectories) to add debug info (\fI\-g3\fP).
It will also remove optimisations (\fI\-O[1-9]?\fP), and can optionally
remove \fI\-DNDEBUG\fP and \fI\-DNO_DEBUG\fP as well.
.PP
This utility is part of the TDE Software Development Kit.
.SH OPTIONS
.TP
.B \-k
Keep optimisations (do not remove \fI\-O[1-9]?\fP flags which are
removed by default).
.TP
.B \-n
Compile without \fINDEBUG\fP and \fINO_DEBUG\fP being defined (this
makes kdDebug calls work).
.TP
.B \-r
Recursively search through all subdirectories of the current directory
and operate on every Makefile that is found.
.SH AUTHOR
This manual page was prepared by Ben Burton <bab@debian.org>
for the Debian GNU/Linux system (but may be used by others).