This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suggestion: --PACKAGEROOT option for MAKE


Matthew Carpenter <matt@eisgr.com> writes:

> Would it be possible to include something like a "--PACKAGEMAKE" option for the MAKE command?  This would be used during a "make install" operation and would treat the accompanying directory as the root directory, allowing packagers (like RPM) a simple way to cleanly build packages.
>
> make --PACKAGEROOT=/var/tmp/BuildRoot/ install

Use make DESTDIR=/var/tmp/BuildRoot install

DESTDIR is the GNU way to do this and already implemented in binutils.

If you want a make change for this, ask on the make lists,

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]