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

- From: Junio C Hamano \<hidden\>
- Date: 2021-03-30 18:38:29 
- List: git
- Page: https://ratatoskr.run/git/2021/03/7882403

```text
Jeff King [ref] writes:

>> 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 ;-).
```
