NAME
kde-build - Updates and recompiles a tree of KDE modules
SYNOPSIS
kde-build
DESCRIPTION
kde-build has been designed to keep a local copy of several \s-1KDE\s0
modules up to date and recompile them. Those modules have to be saved in a
common directory, e.g. something like
~/kde-src/
|
+-> kdelibs/
|
+-> kdebase/
|
\-> kdenetwork/
In this case, the \s-1KDE\s0 source directory would be ~/kde-src/. The script will
take care of compiling them in the correct order, checks for dependencies
and resolves them as far as possible.
Please note that, prior to first invocation of the script, the configuration
file 'kde-buildrc' has to be modified to reflect the local environment,
such as paths etc.
RETURN VALUE
The following error codes are returned by the script.
0 - No error seems to have occured.
1 - The script could not change into the directory of a module.
2 - The script could not open the file 'Makefile.in' of a module.
3 - The configuration of a module failed.
4 - The compilation of a module failed.
5 - The installation of a module failed.
6 - An invalid source directory was specified.
7 - An invalid Qt directory was specified.
11 - The configuration file kde-buildrc couldn't be loaded.
12 - Both \s-1CVS_CLEAN\s0 and \s-1INCREMENTAL_BUILD\s0 were set
13 - Both \s-1BUILD_CLEAN\s0 and \s-1INCREMENTAL_BUILD\s0 were set
EXAMPLES
cd ~/scripts/; vi ./kde-buildrc; ./kde-build
On Debian systems, an example kde-buildrc can be found in
the directory /usr/share/doc/kdesdk-scripts/.
BUGS
Probably.
TODO
Add a \s-1DIAGNOSIS\s0 section to this man page.
AUTHOR
Frerich Raabe <raabe@kde.org>