From 5fb38ce49cf112af7070f59160b23fe960cb2429 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Jan 2017 03:53:00 +0000 Subject: [PATCH 1/2] Makefile: allow `make install` without `go` Signed-off-by: Akihiro Suda --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c58f64a..da975ef 100644 --- a/Makefile +++ b/Makefile @@ -111,8 +111,10 @@ clean: ## clean up binaries @echo "🐳 $@" @rm -f $(BINARIES) -install: $(BINARIES) ## install binaries - @echo "🐳 $@" +install: ## install binaries + @ls $(BINARIES) > /dev/null 2>&1 || \ + (echo "👹 Please run \`make\` before running \`make install\`." && false) + @echo "🐳 $@ $(BINARIES)" @mkdir -p $(DESTDIR)/bin @install $(BINARIES) $(DESTDIR)/bin From 61e7fbde4c5445680f05d31c78131dbf271fde16 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Thu, 19 Jan 2017 11:09:27 -0800 Subject: [PATCH 2/2] Remove check for binaries Signed-off-by: Michael Crosby --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index da975ef..7e57248 100644 --- a/Makefile +++ b/Makefile @@ -112,8 +112,6 @@ clean: ## clean up binaries @rm -f $(BINARIES) install: ## install binaries - @ls $(BINARIES) > /dev/null 2>&1 || \ - (echo "👹 Please run \`make\` before running \`make install\`." && false) @echo "🐳 $@ $(BINARIES)" @mkdir -p $(DESTDIR)/bin @install $(BINARIES) $(DESTDIR)/bin