Makefile: allow make install
without go
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
2869aac1e5
commit
5fb38ce49c
1 changed files with 4 additions and 2 deletions
6
Makefile
6
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue