I used below commands to install some stuff.
qmake PREFIX=/path/to/my/dir
make
make install
However the path I gave was wrong, how do I update PREFIX to the right location and remove the old install, then install again?
I tried:
rm -rf /path/to/my/dir/bin # this is where the program being installed
qmake PREFIX=/path/to/correct/dir
make
make install
But it's still being installed to the old path.
According to "qmake -h", this would set it globally:
qmake -set prefix /path/to/correct/dir