KleanSweep compilation & installation
=====================================

KleanSweep uses the great scons build system, powered by bksys modules crafted
for KDE applications. Both are included in kleansweep source archive.

If you have scons already installed on your system, read 2. If you don't have
scons and wish to use bundled mini-scons, start from 1.

1. Using bundled mini-scons
---------------------------
This is simple. Go to kleansweep directory and type:

tar xjvf admin/scons-mini.tar.bz2

To compile kleansweep, execute:
$ ./scons
$ ./scons install

That's it! If you want to install to non-default location, see 2.

2. Using existing scons
-----------------------
Go to kleansweep directory and type:

$ scons
$ scons install

If you wish to use non-default installation prefix, use:
$ scons configure prefix=/usr/local

If you want to compile for debugging (and see debugging messages printed to console), append debug=1 flag, e.g:
$ scons configure prefix=/usr/local debug=1

If you are a packager and want to set installation DESTDIR, type:
$ DESTDIR=/tmp/foo scons install

For help, type:
$ scons -h

See http://www.scons.org and http://freehackers.org/~tnagy/bksys.html for more
information.

3. Uninstalling kleansweep
--------------------------
To uninstall, pass '-c install' arguments to scons, e.g.

$ scons -c install

