From 72e59077ba772894511ba4a9f4ac3d7db381f439 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sat, 31 Mar 2018 16:25:16 -0700 Subject: [PATCH] makefile: update install directive to just use go install --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e2c27292..b2a18ae2 100644 --- a/Makefile +++ b/Makefile @@ -130,8 +130,8 @@ build: install: @$(call print, "Installing lnd and lncli.") - $(CP) ./lnd $(LND_BIN) - $(CP) ./lncli $(LNCLI_BIN) + go install -v $(LDFLAGS) $(PKG) + go install -v $(LDFLAGS) $(PKG)/cmd/lncli scratch: dep build