opdenkamp/xbmc-pvr-addons — pull request #15 by wsnipex (2012-09-04 15:05:50+00:00)
Title: configure: developer convenience - copy addons to xbmcs addons dir if building in xbmc tree

As requested by @FernetMenta and others on IRC

Configure checks if the parent dir is the xbmc source directory(by looking for ../xbmc/xbmc.h).
If yes:
- copies the compiled addons to the xbmc/addons folder when doing make from the xbmc source tree.
- make install is handled by xbmc's make install
- make clean removes the addons from ..xbmc/addons/

building outside of xbmc should still work as before.