Suggestion: --PACKAGEROOT option for MAKE
Andreas Jaeger
aj@suse.de
Thu Aug 14 07:42:00 GMT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030814/017f49ab/attachment.sig>
More information about the Binutils
mailing list