%% "nadav vinik" <[EMAIL PROTECTED]> writes:

  nv> make doesn't include any option to install in different base
  nv> location from / most of the software include option like --prefix
  nv> or DESTDIR, but there any standard to this.  It's very helpfull to
  nv> create packages and arrange the files.  There some programs that
  nv> don't include the DESTDIR like glibec.

If you mean an option to install GNU make in a different base location,
then it does support both of these options (--prefix and DESTDIR).

If you mean a way to have make do this automatically for makefiles which
don't support it, then such a thing is, of course, technically impossible.
Make has no idea what any command that it runs does: it simply invokes a
shell and passes the script to the shell to run.  It doesn't know if
that command was a compile (or even what kind of language was compiled),
a link, an "install", or something completely different.

And it certainly can't modify the shell script it's invoking to have it
do something different.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to