aboutsummaryrefslogtreecommitdiffstats
path: root/core/kerl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/kerl.mk')
-rw-r--r--core/kerl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/kerl.mk b/core/kerl.mk
index f6995e9..35ce1f3 100644
--- a/core/kerl.mk
+++ b/core/kerl.mk
@@ -21,10 +21,10 @@ KERL_MAKEFLAGS ?=
OTP_GIT ?= https://github.com/erlang/otp
define kerl_otp_target
-$(KERL_INSTALL_DIR)/$(1): $(KERL)
+$(KERL_INSTALL_DIR)/$1: $(KERL)
$(verbose) if [ ! -d $$@ ]; then \
- MAKEFLAGS="$(KERL_MAKEFLAGS)" $(KERL) build git $(OTP_GIT) $(1) $(1); \
- $(KERL) install $(1) $(KERL_INSTALL_DIR)/$(1); \
+ MAKEFLAGS="$(KERL_MAKEFLAGS)" $(KERL) build git $(OTP_GIT) $1 $1; \
+ $(KERL) install $1 $(KERL_INSTALL_DIR)/$1; \
fi
endef