Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2016-08-23
14:00 • Ticket [2895771fff] generate uninstall script status still Open with 7 other... artifact: 8bac6ec122 user: dkf
2009-11-13
17:41 • Ticket [2895771fff]: 4 changes artifact: 79ceeab059 user: matzek
2009-11-11
22:04 • Ticket [2895771fff]: 4 changes artifact: 980c02aa22 user: dgp
14:51 • Ticket [2895771fff]: 1 change artifact: 9a10e6dabc user: matzek
07:51 • New ticket [2895771fff]. artifact: 81b0b00e64 user: matzek

generate uninstall script

Open2895771fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 10 years ago
Descriptionplain2009-11-11 07:51:07
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
matzek Ticket [2895771fff]: 1 change [History diff]2009-11-11 14:51:56
dgpplain2009-11-11 22:04:27
see also 217974
matzekplain2009-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.
dkf Ticket [2895771fff]: 7 changes [History diff]2016-08-23 14:00:37
Log in (anonymous is fine) to add a comment.