mirror of
https://github.com/containers/podman.git
synced 2025-07-02 08:47:43 +08:00
Merge pull request #19351 from edsantiago/gomd2man-local
[CI:DOCS] go-md2man: use vendored-in version, not system
This commit is contained in:
4
Makefile
4
Makefile
@ -145,7 +145,7 @@ override undefine GOBIN
|
||||
# This must never include the 'hack' directory
|
||||
export PATH := $(shell $(GO) env GOPATH)/bin:$(PATH)
|
||||
|
||||
GOMD2MAN ?= $(shell command -v go-md2man || echo './test/tools/build/go-md2man')
|
||||
GOMD2MAN ?= ./test/tools/build/go-md2man
|
||||
|
||||
CROSS_BUILD_TARGETS := \
|
||||
bin/podman.cross.linux.amd64 \
|
||||
@ -954,7 +954,7 @@ install.tools: .install.golangci-lint ## Install needed tools
|
||||
.PHONY: .install.md2man
|
||||
.install.md2man:
|
||||
if [ ! -x "$(GOMD2MAN)" ]; then \
|
||||
$(MAKE) -C test/tools build/go-md2man ; \
|
||||
$(MAKE) -C test/tools build/go-md2man GOOS=$(NATIVE_GOOS) GOARCH=$(NATIVE_GOARCH); \
|
||||
fi
|
||||
|
||||
.PHONY: .install.pre-commit
|
||||
|
@ -74,7 +74,6 @@ Source1: %{git_plugins}/archive/%{commit_plugins}/%{repo_plugins}-%{commit_plugi
|
||||
Source2: %{git_gvproxy}/archive/%{commit_gvproxy}/%{repo_gvproxy}-%{commit_gvproxy}.tar.gz
|
||||
Provides: %{name}-manpages = %{epoch}:%{version}-%{release}
|
||||
BuildRequires: %{_bindir}/envsubst
|
||||
BuildRequires: %{_bindir}/go-md2man
|
||||
%if %{defined build_with_btrfs}
|
||||
BuildRequires: btrfs-progs-devel
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user