Create nice deb-packages. Mpd is only an example of course. Useful when building from source.
The example below assumes you have cloned a git repository (mpd in this instance) and has done the pre make stuff already.
#!/bin/sh cd mpd checkinstall -y --install=no --pkgname=fluff-mpd --provides=mpd --pkgversion="`date +%Y%m%d`.`git rev-list --abbrev-commit --max-count=1 HEAD`" make install mv *.deb ../
Then, if you want to install the package you simply:
dpkg -i package_name.deb
Tada. :)