On X11 when I do ./configure && make && make install, all files are by default installed into something like /usr/local/Trolltech/Qt-4.x.x. Now since the compile tree occupies 1 GB on my HDD which I would like to free, I would like to delete the compile tree. But if I do that I can't do make uninstall to remove Qt. What are the options?

  1. Can I just remove the install directory and that's all? Will there be any residual files or environment variables left?
  2. Can I just keep the makefile and remove the rest of the tree, so that I can still do make uninstall? Would that work?


I am asking here so I can be sure of a way out before I delete my tree. Thanks.