# [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS

2 messages from 2015-02-05 to 2015-02-05. Participants: Sebastian Schuberth, Kyle J. McKay.
Thread: https://gitlist.dev/t/38509

## Sebastian Schuberth, 2015-02-05 15:52

Subject: [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS
Message-ID: <CAHGBnuPtzQeqNoHiwNoaH3j9OWXq-jopjwwdStS-0mnX_9mzww@mail.gmail.com>
URL: https://gitlist.dev/e/CAHGBnuPtzQeqNoHiwNoaH3j9OWXq-jopjwwdStS-0mnX_9mzww%40mail.gmail.com

```
We do this for BUILT_INS and REMOTE_CURL_ALIASES, so we should do so here,
too.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 21f23cb..d2849c3 100644
--- a/Makefile
+++ b/Makefile
@@ -2258,6 +2258,7 @@ endif
         $(RM) "$$execdir/$$p" && \
         test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
         ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
+        ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
         cp "$$bindir/$$p" "$$execdir/$$p" || exit; \
       done; \
     } && \
-- 
2.1.2-mingw-1

```

## Kyle J. McKay, 2015-02-05 17:49

Subject: Re: [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS
Message-ID: <6D3D9F6F-E610-4C41-847C-5ECDD427BB18@gmail.com>
URL: https://gitlist.dev/e/6D3D9F6F-E610-4C41-847C-5ECDD427BB18%40gmail.com
In-Reply-To: <CAHGBnuPtzQeqNoHiwNoaH3j9OWXq-jopjwwdStS-0mnX_9mzww@mail.gmail.com>

```
On Feb 5, 2015, at 07:52, Sebastian Schuberth wrote:
> We do this for BUILT_INS and REMOTE_CURL_ALIASES, so we should do so  
> here,
> too.
>
> Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
> ---
> Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Makefile b/Makefile
> index 21f23cb..d2849c3 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -2258,6 +2258,7 @@ endif
>         $(RM) "$$execdir/$$p" && \
>         test -z "$(NO_INSTALL_HARDLINKS)$ 
> (NO_CROSS_DIRECTORY_HARDLINKS)" && \
>         ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
> +        ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \

Can we not start installing absolute path symlinks please.

-Kyle

```
