Merge pull request #17367 from xxyzz/fix_doc_build

Move `clean-binaries` before `podman-remote` in podman-remote-docs target
This commit is contained in:
OpenShift Merge Robot
2023-02-06 10:48:06 -05:00
committed by GitHub

View File

@ -490,7 +490,8 @@ docs: $(MANPAGES) ## Generate documentation
# in addition to the target-architecture binary (if different). That's
# what the NATIVE_GOOS make does in the first line.
podman-remote-%-docs: podman-remote
$(MAKE) clean-binaries podman-remote GOOS=$(NATIVE_GOOS) GOARCH=$(NATIVE_GOARCH)
$(MAKE) clean-binaries
$(MAKE) podman-remote GOOS=$(NATIVE_GOOS) GOARCH=$(NATIVE_GOARCH)
$(eval GOOS := $*)
$(MAKE) docs $(MANPAGES)
rm -rf docs/build/remote