On Sun, Nov 15, 2020 at 01:19:47AM +0100, Marc Espie wrote:
> On Sat, Nov 14, 2020 at 07:36:31PM +0000, Mikolaj Kucharski wrote:
> > Hi,
> > 
> > Before I dig into this, would it be okay, if make clean=depends also
> > cleaned up test dependencies? I often use clean-depends to clean up all
> > dependencies, but that leaves behind ports in test dependencies.
> > 
> > Would it be okay to include test deps during make clean-depends?
> 
> That would be okay but this will be complicated.

Okay.

> Specifically, because test-depends are somewhat outside of the normal
> depends, and clean=depends uses all-dir-depends, which does not have
> test-depends.

Okay.

> and all-dir-depends shouldn't get test depends because of the way it's
> generally used.

I don't know. Would need to dig into this.
 
> So this means more variables and more targets...
> 
> The other issue is: what semantics.
> make clean=depends will clean build/run depends recursively

Yes, it does clean recursively.

> if you include test-depends, you might clean up a lot of things...
> specifically because test-depends are *outside* the normal build.

This is *exactlty* what I want. I want it to clean it all, recursively.

> So, what recursive semantics do you want for test depends ?... probably none ?

I don't understand this question.

-- 
Regards,
 Mikolaj

Reply via email to