[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A little of the record question
From: |
Nicola Pero |
Subject: |
Re: A little of the record question |
Date: |
Mon, 7 Jan 2002 22:58:01 +0000 (GMT) |
> Just a little question about make...
>
> Is there a default way to tell make that it should install everything in
> a sub-dir when running make install.
> I mean is the a way to override the default.
> Some Makefiles support install_root=/blah some use DESTDIR=/blah, but I
> would like to know if there is somethings that works always...
Are you asking about make in general ?
Then - the answer is no - there is no Makefile-independent way of telling
it to install everything in a subdir - because make rules can contain
arbitrary commands, and make has no control on those commands. The
Makefile and its rules must have been written in such a way as to support
an option to install somewhere else; such an option depends on the
Makefile.
If you are asking about gnustep-make, well you probably already know the
answer, yes gnustep-make allows you to change the directory in which you
install, you need to set GNUSTEP_INSTALLATION_DIR.