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.
74 lines
2.6 KiB
74 lines
2.6 KiB
13 years ago
|
.\" 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)
|
||
11 years ago
|
.TH FIXTDEINCLUDES 1 "January 31, 2004"
|
||
13 years ago
|
.\" 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
|
||
11 years ago
|
fixkdeincludes \- reduce the number of #includes in TDE source files
|
||
13 years ago
|
.SH SYNOPSIS
|
||
|
.B fixkdeincludes
|
||
|
[ \fB\-v, \-\-verbose\fP ]
|
||
|
[ \fB\-e, \-\-experimental\fP ]
|
||
|
[ \fB\-m, \-\-modify\fP ]
|
||
|
[ \fIfile\fP ... ]
|
||
|
.br
|
||
|
.B fixkdeincludes \-\-help
|
||
|
.SH DESCRIPTION
|
||
|
\fBfixkdeincludes\fP tries to reduce the number of #includes in C++ source
|
||
11 years ago
|
files. Much of its processing is specific to TDE sources and so it
|
||
|
might not work so well with sources for non-TDE applications.
|
||
13 years ago
|
.PP
|
||
|
The following problems are identified by fixkdeincludes:
|
||
|
.PP
|
||
|
.RS
|
||
|
Including headers that are no longer supported but which exist for
|
||
|
compatibility with older Qt/KDE versions;
|
||
|
.PP
|
||
|
Including the same file multiple times;
|
||
|
.PP
|
||
|
Using #include <...> instead of #include "...".
|
||
|
.RE
|
||
|
.PP
|
||
|
There is also an experimental mode which tries removing each #include
|
||
|
one at a time (with a few exceptions) to see whether the source still
|
||
|
compiles. Note that this experimental mode will modify the original sources.
|
||
|
.PP
|
||
|
By default the sources will not be modified; the identified problems
|
||
|
will simply be written to standard output.
|
||
|
.PP
|
||
|
The list of C++ sources to examine should be given on the command-line.
|
||
|
If no files are given, all C++ sources in or beneath the current
|
||
|
directory will be examined (with the exception of directories whose
|
||
6 years ago
|
\fIMakefile.am\fP contains \-UTQT_NO_COMPAT or \-UTDE_NO_COMPAT).
|
||
13 years ago
|
.PP
|
||
11 years ago
|
This utility is part of the TDE Software Development Kit.
|
||
13 years ago
|
.SH OPTIONS
|
||
|
.TP
|
||
|
\fB\-v, \-\-verbose\fP
|
||
|
Verbose mode. Additional debugging information is written to standard output.
|
||
|
.TP
|
||
|
\fB\-e, \-\-experimental\fP
|
||
|
Experimental mode, as described above in detail. Note that this option
|
||
|
implies \fB\-\-modify\fP.
|
||
|
.TP
|
||
|
\fB\-m, \-\-modify\fP
|
||
|
As well as writing messages to standard output, actually modify the
|
||
|
original sources to fix any problems that were found.
|
||
|
.SH AUTHOR
|
||
|
fixkdeincludes was written by Dirk Mueller <mueller@kde.org>.
|
||
|
.br
|
||
|
This manual page was prepared by Ben Burton <bab@debian.org>
|
||
|
for the Debian GNU/Linux system (but may be used by others).
|