Found an interesting link:
http://www.linuxjournal.com/content/using-checkinstall-build-packages-source
Describes the use of checkinstall in ubuntu. Usually when compiling from source we run:
./configure
make
make install
Instead of running the last “make install” you’d run the “checkinstall” command. This builds a .deb file which you can then install via your normal package manager, which makes it easier for the system to track, and so on, but does add the extra step of installing via the package manager after the checkinstall, for example
deb –i package_name.deb