mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
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:
3
Makefile
3
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user