From cf5bca133897e723a7ecce6f95e480f8b82382d5 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 3 Dec 2019 19:47:33 +0000 Subject: Attempt to install go-md2man only if missing Fixes: #4632 Signed-off-by: Sorin Sbarnea --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d7c3cf7bd..8795dd5ff 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-54-g00ecf