
===========================================================================
Make uninstall v2.2.1 Kent Robotti <robotti@godmail.com> 8/7/2005

This script is used to monitor a command like 'make install', so a record
of the install can be created, which will allow you to completely remove
the package from your system later.

Usually when you compile a package you do './configure ; make ; make install'.

Instead of the 'make install' step do 'mku', and choose 'Monitor' from the menu.

Example: ./configure ; make ; mku

You can see a listing for each installed package in
/var/log/uninstall/packages/package_name.

You can also create a database in "/var/log/uninstall/configure", with
the configure and make rules you want for a particular source package. 

Run 'mku' and choose 'Configure', then 'Create' from the menu, to create
the configure rules file.

For example, these are the configure and make rules I want for the
'fetchmail' source package.

# Configure and make rules for 'fetchmail'.
./configure --prefix=/usr --disable-nls --enable-SDPS \
--enable-RPA --enable-NTLM --with-ssl=/usr/lib
make CFLAGS="-Os -march=i386 -Wall" LDFLAGS="-s"

# http://www.foo.com/home_page_for_package_source
# ftp://ftp.foo.com/pub/ftp_directory_for_package_source

Put a '\' at the end of each configure and make line, if there's more than
one, except the last. You can put some notes after '#' if you want.

Then, when you want to configure and make a package start 'mku',
and choose 'Configure' then 'Run' from the menu.

You'll have the option of creating a Slackware, Debiam, RPM, or
generic x.mku.tgz package of the install, after the install or
later using /var/log/uninstall/packages/package_name as the guide.

The Monitor option isn't needed if you create a configure rules
file, and use the Configure option to Run it.

To install 'mku' run './INSTALL'.

If you want to compile installwatch.so, do this.
installwatch-0.6.3# make

You can put installwatch.so in /usr/lib.

ATTENTION! If you have a "static" /bin/ln, move it to /bin/sln and
           put a non static version in its place.
           # ldd /bin/ln
	     statically linked or not a dynamic executable

The source for the installwatch.so program v0.6.3 can be found here. 
http://asic-linux.com.mx/~izto/checkinstall

The license for make_uninstall is GNU GPL.
===========================================================================
