[Nix-dev] iproute nix-expression
Michael Raskin
7c6f434c at mail.ru
Wed Jun 13 23:18:26 CEST 2007
Eelco Dolstra wrote:
>>> This is less sensitive to changes in the Makefile between releases.
>> I am not sure what will happen first - 'make' allowing assignment to VAR
>> not matching ^VAR= or 'make' that proceeds overrides in a different
>> fashion.
> The command-line variables override definitions in the Makefile, and they're
> even passed on in recursive invocations of Make.
It is so for now. I hope that recursive behaviour will not be
interesting for iproute Makefile. If Makefile wants to pass the
variable recursively it will do it with my replacement too, if it
doesn't but a new variable with the same name appears in child directory
- well, it deserves manual inspection anyway. Probably you are right, in
disasterous case of iproute having recursive Makefile system with own
SBINDIR declared in every Makefile your solution will work better.
OK, I attach default.nix for your way and with one bug fixed - it now
fixes all hash-bang-bash extries, not only those needed for building
'ip' itself.
Raskin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: default.nix
Url: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20070614/bf696c5e/attachment.pl
More information about the nix-dev
mailing list