Tcl Source Code

View Ticket
Login
Ticket UUID: 2895771
Title: generate uninstall script
Type: RFE Created on: 2009-11-11 07:51:07
Submitter: matzek Assigned to: aku
Subsystem: 53. Configuration and Build Tools Severity: Minor
Priority: 3 Low Last modified: 2016-08-23 14:00:37
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: None
Description:
Looking through unix/Makefile.in of the current HEAD I noticed that every file that gets installed is handled separately. It is either going through a for-loop or has a separate line in one of the install-targets. Thus is should be possible to extend the install-targets to generate an uninstall.sh script, that would remove the installed parts again.

Even if I missed something and there are files that are handled by globbing it could still be possible to also generate a removal script from an uninstall.sh.in script.

I am not suggesting that this uninstall.sh should be installed as well, but if there is some consent one could think about installing it in $(CONFIG_INSTALL_DIR).

-- Matthias Kraft
User Comments:
dgp added on 2009-11-11 22:04:27:
see also 217974

matzek added on 2009-11-13 17:41:05:
217974 and 219271 are requesting an uninstall target in the Makefile. This is not what I want, because it would mean that you  have to keep the build environment around. An uninstall.sh is more flexible.