tech-pkg archive

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

Re: make clean package (was: Re: destdir: 'make package' inconsistency)



David Holland schrieb:
> On Tue, Jan 06, 2009 at 10:36:45PM +0100, Roland Illig wrote:
>  > > make clean . package
>  > > make -j5 clean . all . install
>  > 
>  > The latter two still wouldn't work, since the internal steps would be as
>  > follows:
>  > 
>  > 1. load all the *.mk files
>  > 2. run the actions for "clean"
>  > 3. run the actions for "package"
>  > 
>  > Step 1 sets lots of variables depending on the existence of certain
>  > files in WRKDIR. These files will be deleted in step 2. And then, step 3
>  > assumes they are still there, but they aren't.
> 
> Isn't a lot of that work done in a recursive sub-make for each step?
> Or is that no longer true? (Or was it never true and I'm thinking of
> something else?)

When I run a simple "make" nowadays, there are three sub-make invocations:

1. make _MAKE=... ... all
2. make -f Makefile all
3. make _MAKE=... ... barrier-error-check

That's all. In earlier times, the list used to be longer.

Roland


Home | Main Index | Thread Index | Old Index