Skip to content

Commit

Permalink
Makefile: use INSTALL
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Jun 24, 2019
1 parent 4791121 commit 1a43bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# get the repo root and output path, go_container.sh respects these
REPO_ROOT:=${CURDIR}
OUT_DIR=$(REPO_ROOT)/bin
INSTALL?=install
# make install will place binaries here
# the default path attempts to mimic go install
INSTALL_DIR?=$(shell hack/build/goinstalldir.sh)
Expand All @@ -42,7 +43,7 @@ build: kind

# use: make install INSTALL_DIR=/usr/local/bin
install: build
install $(OUT_DIR)/$(KIND_BINARY_NAME) $(INSTALL_DIR)/$(KIND_BINARY_NAME)
$(INSTALL) $(OUT_DIR)/$(KIND_BINARY_NAME) $(INSTALL_DIR)/$(KIND_BINARY_NAME)

# cleans the cache volume
clean-cache:
Expand Down

0 comments on commit 1a43bad

Please sign in to comment.