Attempt to install go-md2man only if missing

Fixes: #4632
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
Sorin Sbarnea
2019-12-03 19:47:33 +00:00
parent 06e2a20b3d
commit cf5bca1338

View File

@ -487,8 +487,8 @@ endef
fi
.install.md2man: .gopathok
if [ ! -x "$(GOBIN)/go-md2man" ]; then \
$(call go-get,github.com/cpuguy83/go-md2man); \
if [ ! -x "$(GOMD2MAN)" ]; then \
$(call go-get,github.com/cpuguy83/go-md2man); \
fi
varlink_generate: .gopathok cmd/podman/varlink/iopodman.go ## Generate varlink