-
Notifications
You must be signed in to change notification settings - Fork 762
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
docs: Use guaranteed path for go-md2man #3610
Conversation
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>
[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 |
@rhatdan @TomSweeneyRedHat Just a small revert. |
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
/lgtm |
Its not guaranteed that host contains go-md2man so use the one which is
built by buildah.
Closes: #3556