Menu

#570 generate uninstall script

open
3
2009-11-11
2009-11-11
No

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

Discussion

  • Matthias Kraft

    Matthias Kraft - 2009-11-11
    • priority: 5 --> 3
     
  • Don Porter

    Don Porter - 2009-11-11

    see also 217974

     
  • Matthias Kraft

    Matthias Kraft - 2009-11-13

    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.