Klogwatch 1.5 and later uses the autoconf system to automatically attempt
to configure the make system to find the necessary libraries and files
on your system. See man autoconf(1). An autoconf "configure" file is
distributed with the program.

To examine your system and prepare the Makefile, change to the
top level directory of klogwatch and run "./configure". You may need
to use the --datadir argument to locate the icons correctly (see below).

Then to build the program, run "make".

Then to install the program, its icons and man page, run "make install"
(probably as root).

By default, the Makefile will install the executable in /usr/local/bin
with icons in /usr/local/share/icons and /usr/local/share/apps/klogwatch/pics.
A manual page is installed in /usr/local/man/man1. To change these
locations, you can give options to the configure script. It is likely
that your KDE icons are NOT held under /usr/local/share, in which case
you can change the location of just the icon installation using something
like --datadir=/opt/kde3/share.

A KLogWatch.desktop file is available in the source package, and can be
copied to the KDE desktop directory or a KDE menu directory if required.

If configure cannot automatically locate your KDE, Qt or X11 libraries,
or the ones located are the wrong version, you can explicitly set the
values using the --with-kdelib, --with-qtlib or --with-x11lib arguments
to configure. Similarly, the location of the QT and KDE include files
can be forced using the --with-kdeinc and --with-qtinc arguments. The
location of the QT uic and moc executables can be forced with the
--with-qtbin argument. If $KDEDIR and $QTDIR are set in the environment,
subdirectories of these are checked for libs, includes and (QT) bins.

By default, the configure script uses "-g -O2" as the compiler flags.
To change this, set the $CXXFLAGS variable.

To clean the directory and re-build using different configure options,
run "make distclean" from the top level, then re-run configure with
the new options.

Make uninstall will remove the binary, man page and icons. It should be
run as root, if the make install required root permissions.

