1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 15:45:08 +01:00

Makefile: Clarify different binaries targets

I ran `make help` and found it confusing that `binaries` is listed three times:

```console
Target:                     Description:
--------------              --------------------
binaries                    Build podman and podman-remote binaries
binaries                    Build podman, podman-remote and rootlessport binaries quadlet
binaries                    Build podman-remote (client) only binaries
clean-binaries              Remove platform/architecture specific binary files
clean                       Clean all make artifacts
docs                        Generate documentation
help                        (Default) Print listing of key targets with their descriptions
install.tools               Install needed tools
install                     Install binaries to system locations
local-cross                 Cross compile podman binary for multiple architectures
podman-mac-helper           Build podman-mac-helper for macOS
podman-remote-release-%.zip Build podman-remote for %=$GOOS_$GOARCH, and docs. into an installation zip.
rpm-install                 Install rpm packages
rpm                         Build rpm packages
test                        Run unit, integration, and system tests.
validatepr                  Go Format and lint, which all code changes must pass
```

So I'm proposing a way to differentiate btween them.

Signed-off-by: Osama Albahrani <54853250+osalbahr@users.noreply.github.com>
This commit is contained in:
Osama Albahrani
2025-08-01 23:45:52 +03:00
parent 0c4c9e4fbc
commit 32ec523ef6

View File

@@ -232,11 +232,11 @@ all: binaries docs
.PHONY: binaries
ifeq ($(GOOS),freebsd)
binaries: podman podman-remote ## Build podman and podman-remote binaries
binaries: podman podman-remote ## (FreeBSD) Build podman and podman-remote binaries
else ifneq (, $(findstring $(GOOS),darwin windows))
binaries: podman-remote ## Build podman-remote (client) only binaries
binaries: podman-remote ## (macOS/Windows) Build podman-remote (client) only binaries
else
binaries: podman podman-remote podman-testing podmansh rootlessport quadlet ## Build podman, podman-remote and rootlessport binaries quadlet
binaries: podman podman-remote podman-testing podmansh rootlessport quadlet ## (Linux) Build podman, podman-remote and rootlessport binaries quadlet
endif
# Extract text following double-# for targets, as their description for