Skip to content

Commit

Permalink
Merge pull request #17367 from xxyzz/fix_doc_build
Browse files Browse the repository at this point in the history
Move `clean-binaries` before `podman-remote` in podman-remote-docs target
  • Loading branch information
openshift-merge-robot authored Feb 6, 2023
2 parents 56d1364 + 8441f01 commit a62c9b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a62c9b2

Please sign in to comment.