Re: [PATCH 3/6] Makefile: refactor out "ln || ln -s || cp" pattern
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
>> Nice. These explicit command-line options to the helper may be
>> harder to initially write and maintain than just exporting the
>> relevant $(MAKE) macros and using it from the helper, but once
>> it works correctly, it is much easier to see what is going on.
>
> Another option is to make "ln-or-cp" itself a target that "make" knows
> how to build, and bake the values into its "built" version.
Aha. That is even nicer ;-).