Traditionally, there has often been a "make uninstall" target that removes everything that "make install" installs. Does NTPsec have a ./waf uninstall?
If not, and people care about such things, that would be the obvious thing to have. Write it to uninstall exactly what it would have installed (i.e. using the current configuration). That way, for people who care, the upgrade process is: ./waf uninstall git pull # If needed: ./waf configure ./waf install Note that you're running ./waf uninstall from the old checkout before upgrading. For people who don't care about cruft, no uninstall action is required. They can keep doing nothing extra and keep getting the current result. For people where multiple installations are intended, this isn't uninstalling anything by default and thus is not breaking anything for them. If they choose to run uninstall, it does the most predictable thing (using the current settings) which has the highest probability of being useful instead of harmful. For regular users using distro packages, the package manager tracks the files installed and thus handles cleanup independently. -- Richard
signature.asc
Description: OpenPGP digital signature
_______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
