I demand that Bill may or may not have written...
> Ok, so things are hunky-dory with configure. It ran like a charm for
> installation and did it's thing and put everything in /usr/local.
> But that was a mistake on my part. I wanted to install to /opt as I usually
> do using the option --prefix=/opt. But having used it in all my previous
> failed attempts (missing dependancies etc) I forgot to add it this time and
> it worked beautifully. So I'm stuck with a /usr/local install unless I can
> back out of it some way.
> The simplest thing would probably be to remove and reinstall but I can't
> find a remove option or script. Is there such a thing for the tarball (v.
"make uninstall" should work. This is a standard automake-generated target.
If for some reason it doesn't, then something like this should work:
make install DESTDIR="$PWD/foo"
(cd foo && find \! -type d) | (cd / && xargs rm)
(cd foo && find -type d) | sort -r | (cd / && xargs rmdir --ignore-fail-on-non-empty)
WARNING: untested. May cause nasal demons. May contain nuts. (You can, of
couse, replace rm and rmdir with echo for testing purposes. And don't forget
"rm -rf foo" when done.)
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Burn less waste. Use less packaging. Waste less. USE FEWER RESOURCES.
Those of you who think you know everything are annoying those of us who do.