summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@redhat.com>2019-12-03 19:47:33 +0000
committerSorin Sbarnea <ssbarnea@redhat.com>2019-12-03 19:47:42 +0000
commitcf5bca133897e723a7ecce6f95e480f8b82382d5 (patch)
tree0c3f7365fee9e2f91ada4d11a822deca6903c352 /Makefile
parent06e2a20b3d76cc2d8a9a904846ddbc4fd9a212c3 (diff)
downloadpodman-cf5bca133897e723a7ecce6f95e480f8b82382d5.tar.gz
podman-cf5bca133897e723a7ecce6f95e480f8b82382d5.tar.bz2
podman-cf5bca133897e723a7ecce6f95e480f8b82382d5.zip
Attempt to install go-md2man only if missing
Fixes: #4632 Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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