From 32ec523ef640fb6690b993a3c302928894c4c19c Mon Sep 17 00:00:00 2001 From: Osama Albahrani <54853250+osalbahr@users.noreply.github.com> Date: Fri, 1 Aug 2025 23:45:52 +0300 Subject: [PATCH] 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> --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index beddc2aae3..513c99461d 100644 --- a/Makefile +++ b/Makefile @@ -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