Leftover junk
Richard Laager
rlaager at wiktel.com
Fri Dec 7 19:37:44 UTC 2018
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20181207/6f3fba9e/attachment.bin>
More information about the devel
mailing list