Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Use guaranteed path for go-md2man #3610

Merged

Conversation

flouthoc
Copy link
Collaborator

@flouthoc flouthoc commented Nov 1, 2021

Its not guaranteed that host contains go-md2man so use the one which is
built by buildah.

Closes: #3556

Its not guaranteed that host contains go-md2man so use the one which is
built by buildah.

Signed-off-by: Aditya Rajan <arajan@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 1, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@flouthoc
Copy link
Collaborator Author

flouthoc commented Nov 1, 2021

@rhatdan @TomSweeneyRedHat Just a small revert.

@rhatdan
Copy link
Member

rhatdan commented Nov 1, 2021

LGTM

@@ -1,7 +1,8 @@
PREFIX := /usr/local
DATADIR := ${PREFIX}/share
MANDIR := $(DATADIR)/man
GOMD2MAN ?= $(shell command -v go-md2man || echo '$(GOBIN)/go-md2man')
# Following go-md2man is guaranteed on host
GOMD2MAN ?= ../tests/tools/build/go-md2man
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not seeing the build directory in upstream. Is this getting built somewhere? Should we instead use ./tests/tools/vendor/github.com/cpuguy83/go-md2man or maybe add the two directories to the old command as or's?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TomSweeneyRedHat its generated by the make

@rhatdan
Copy link
Member

rhatdan commented Nov 2, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 2, 2021
@openshift-merge-robot openshift-merge-robot merged commit e8371b7 into containers:main Nov 2, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make fails: /go-md2man: No such file or directory - file is searched in wrong location
4 participants