I would like for kdesvn-build to have two new features. 1: as part of the install phase an optional "uninstall before installing" phase. This would have the benefit of reducing stale files as old files otherwise never are removed. 2: An uninstall command. This would run make uninstall for all modules. The trick here seems to be that modules must be uninstalled in reverse order.
SVN commit 1123842 by mpyne: Add support for uninstalling modules to kdesvn-build. If the user specifies a list of modules on the command line, then those are directly uninstalled. Otherwise the normal build list is used, modified so that only modules kdesvn-build thinks it has actually installed are attempted to be uninstalled. (This means that git modules don't play nice because I am not setting the last-install-rev persistent property for those yet, sorry). You can set the option use-clean-install to true in your kdesvn-buildrc to also have kdesvn-build uninstall a module just before installing it to keep stray files from accumulating. Probably not quite fully baked, but should be good enough for 1.12 (the first release it will show up in). BUG:211745 M +141 -26 kdesvn-build WebSVN link: http://websvn.kde.org/?view=rev&revision=1123842