An idea for a new development model

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Wed Aug 15 10:42:21 MDT 2007


On Wed, Aug 15, 2007 at 10:37:44AM -0600, Jeremy Huntwork wrote:
> Not in the least. If DESTDIR is set to an empty variable, the effect of
> the command is the same as usual.
> 
> ./configure --prefix=/usr && make && make install
> is the same as
> ./configure --prefix=/usr && make && make DESTDIR=$dest install
> if $dest is empty

Taking this a step further, the commands for most packages could be
probably be unaffected entirely if you set DESTDIR to be an environment
variable, as in config.site. Note that I haven't tested this.

--
JH



More information about the lfs-dev mailing list