Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make dependall vs. install



On Thu, Sep 29, 2011 at 12:24:00AM +0200, Rhialto wrote:
> While watching the output of build.sh, I'm noticing there are still two
> passes over the source tree that could be combined, I think. The
> dependall pass builds stuff, and later the install pass installs it.
> While that may have made sense when installing into DESTDIR=/ was
> common, it doesn't really for installing in a staging directory. None of
> the executables that are installed are run anyway, since the tool
> versions are used instead. So combining dependall + install into
> dependinstall or something like that might save some build time. Right?

Possibly.
Alternatively, why have a DESTDIR at all, why not build the sets
from the files in OBJDIR!

Another pass I think could be removed is the 'make OBJ'.
Most of the object directories could be created by bsd.subdir.mk.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index