make: Fixup install/invocation of tools
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
ae9b5849a7
commit
b7c97540b7
1 changed files with 7 additions and 7 deletions
14
Makefile
14
Makefile
|
@ -101,13 +101,13 @@ MANPAGES_MD := $(wildcard docs/*.md)
|
|||
MANPAGES := $(MANPAGES_MD:%.md=%)
|
||||
|
||||
docs/%.1: docs/%.1.md check-gopath
|
||||
go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@
|
||||
$(GOPATH)/bin/go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@
|
||||
|
||||
docs/%.5: docs/%.5.md check-gopath
|
||||
go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@
|
||||
$(GOPATH)/bin/go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@
|
||||
|
||||
docs/%.8: docs/%.8.md check-gopath
|
||||
go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@
|
||||
$(GOPATH)/bin/go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@
|
||||
|
||||
docs: $(MANPAGES)
|
||||
|
||||
|
@ -163,14 +163,14 @@ endif
|
|||
|
||||
install.tools: .install.gitvalidation .install.gometalinter .install.md2man
|
||||
|
||||
.install.gitvalidation:
|
||||
.install.gitvalidation: check-gopath
|
||||
go get -u github.com/vbatts/git-validation
|
||||
|
||||
.install.gometalinter:
|
||||
.install.gometalinter: check-gopath
|
||||
go get -u github.com/alecthomas/gometalinter
|
||||
gometalinter --install
|
||||
$(GOPATH)/bin/gometalinter --install
|
||||
|
||||
.install.md2man:
|
||||
.install.md2man: check-gopath
|
||||
go get -u github.com/cpuguy83/go-md2man
|
||||
|
||||
.PHONY: \
|
||||
|
|
Loading…
Reference in a new issue