We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d432131 commit 8052bf7Copy full SHA for 8052bf7
GNUmakefile
@@ -6,7 +6,6 @@ MULTICALL ?= n
6
COMPLETIONS ?= y
7
MANPAGES ?= y
8
LOCALES ?= y
9
-INSTALL ?= install
10
ifneq (,$(filter install, $(MAKECMDGOALS)))
11
override PROFILE:=release
12
endif
@@ -23,6 +22,7 @@ ifeq ($(PROFILE),release)
23
22
24
25
# Binaries
+INSTALL ?= $(shell command -v install)
26
CARGO ?= cargo
27
CARGOFLAGS ?=
28
RUSTC_ARCH ?= # should be empty except for cross-build, not --target $(shell rustc --print host-tuple)
@@ -71,7 +71,7 @@ OS ?= $(shell uname -s)
71
# Windows does not allow symlink by default.
72
# Allow to override LN for AppArmor.
73
ifeq ($(OS),Windows_NT)
74
- LN ?= ln -f
+ LN ?= $(shell command -v ln) -f
75
76
LN ?= ln -sf
77
0 commit comments