Thread (1 message) 1 message, 1 author, 2021-03-30

Re: [PATCH 3/6] Makefile: refactor out "ln || ln -s || cp" pattern

From: Junio C Hamano <hidden>
Date: 2021-03-30 18:38:29

Jeff King [off-list ref] writes:
quoted
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 ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help