diff --git a/Makefile b/Makefile index 6c5e9cc..f7f4331 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,10 @@ all: build build: generate CGO_ENABLED=0 go build -v ${GO_LDFLAGS} +.PHONY: install +install: build + cp chainkit /usr/local/bin + .PHONY: generate generate: go generate ./templates diff --git a/README.md b/README.md index d1e1081..d2b4567 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,7 @@ Requirements: From this repository, run: ```bash -$ make -$ cp chainkit /usr/local/bin +$ make install ``` ## Usage