List Info

Thread: Suggestion to improve make :add option to install in base directory




Suggestion to improve make :add option to install in base directory
user name
2006-05-13 17:10:45
make doesn't include any option to install in different
base location from /
most of the software include option like --prefix or
DESTDIR, but
there any standard to this.
It's very helpfull to create packages and arrange the
files.
There some programs that don't include the DESTDIR like
glibec.

I hope that you add somthing.

goodbye
Nadav


_______________________________________________
Help-make mailing list
Help-makegnu.org
http:
//lists.gnu.org/mailman/listinfo/help-make
Suggestion to improve make :add option to install in base directory
user name
2006-05-13 17:21:40
%% "nadav vinik" <nadavlistsgmail.com> 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 <psmithgnu.org>          Find
some GNU make tips at:
 http://www.gnu.org        
             http://make.paulandlesl
ey.org
 "Please remain calm...I may be mad, but I am a
professional." --Mad Scientist


_______________________________________________
Help-make mailing list
Help-makegnu.org
http:
//lists.gnu.org/mailman/listinfo/help-make
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )