howdy.
Can I make "make install" use someother prefix (different from the one set with configure --prefix) just to install the files without messing with configure --prefix ?
[ ]'s
Printable View
howdy.
Can I make "make install" use someother prefix (different from the one set with configure --prefix) just to install the files without messing with configure --prefix ?
[ ]'s
Well if you configured with /usr/bin (say), did a compile which somehow built that information into the build, and then you decided to install in /bin instead, do you think it would still work?
You can try:
make install DESTDIR=/some/location
This only works if the makefile has support to do so.
Of course the correct way is to just rerun configure specifying the prefix.