This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Suggestion: --PACKAGEROOT option for MAKE
- From: Matthew Carpenter <matt at eisgr dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 14 Aug 2003 03:36:40 -0400
- Subject: Suggestion: --PACKAGEROOT option for MAKE
- Organization: Enterprise Information Systems
- References: <1060815165.23824.ezmlm@sources.redhat.com>
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
Altering other parameters (eg. in the configure process) can cause apps to include misconfigurations which include the BuildRoot directory in .conf files. Including this functionality in MAKE would remove the details for each package (because no two projects seem to be the same even when autoconfigured to be so) in the tool which is common to them all.
TIA!
Matt