On Nov 18, 2015 4:39 AM, "JonY" <[email protected]> wrote:
>
> On 11/17/2015 22:13, NightStrike wrote:
> > This is a bad change.  Make should be managing dependencies.  It's bad
> > form to force a call to mkdir for every iteration, when it only needs
> > to be called once (especially on msys/cygwin, where that extra call is
> > non-trivial.)  The correct way to do it is to set the destination
> > directory as a dependency, to make a rule for that, and then go ahead
> > with the normal rules.  Something like this:
> >
> > $(directoryname):
> >     $(MKDIR_P) $@
> >
> > %.def: $(directoryname)
> >
> > %.def: %.def.in
> >     ...as before
> >
> >
> > You could probably even combine those two rules:
> >
> > %def: %.def.in $(directoryname)
> >     ...as before
> >
>
> As in literally "directoryname"? I tried $(@D), but end up with "/" as
> directory name.

Hehe, no, whatever represents the directory they are being installed into.
It is probably $(libdir), but again I'd have to look at the code. When I
browse the file in the online repository viewer, I get an unknown error
from sf.
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to