Quote:
please can you explain to me how to write my own 'uninstall target'?
|
I think that post was half-joking, but it can be done.
I wouldn't actually recommend building an uninstall target though...
What I would do is view the makefile with an editor and search for a line starting with "install:"
The commands after that will show what the makefile did when you ran "make install" in the first place.
From that you can probably decipher which files it created when it was installed, and can then remove them manually.
Unfortunately if you're new to reading makefiles, they can sometimes be extremely hard to decipher. With a really complex makefile it might not even be exactly as I described
But if you're lucky, it might just be a list of copy commands like this
Quote:
cp file1 /usr/local/foo/file1
cp file2 /usr/local/foo/file2
|
In which case you will have an easy to read list of file locations and can easily destroy this unwanted program yourself