From b67ac0da88ed90f767f89b8eadfae960b7c2230f Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Thu, 7 Aug 2025 10:35:32 +0200 Subject: [PATCH] GNUmakefile: help: Document the usual targets Suggested-by: Aleksa Sarai Acked-by: Aleksa Sarai Signed-off-by: Alejandro Colomar --- GNUmakefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 9530a66f5..e1cc44bbb 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -46,7 +46,22 @@ nothing:; .PHONY: help help: - $(info $(INFO_)To see a list of targets, run:) + $(info $(INFO_)Common targets:) + $(info $(INFO_) all Synonym of 'build') + $(info $(INFO_) build Build the usual stuff) + $(info $(INFO_) build-all Build everything) + $(info $(INFO_) check Check the results of the build) + $(info $(INFO_) clean Remove all temporary files) + $(info $(INFO_) dist Produce the release tarball) + $(info $(INFO_) distcheck Check the release tarball) + $(info $(INFO_) help Print this help) + $(info $(INFO_) install Install the usual stuff) + $(info $(INFO_) install-all Install everything) + $(info $(INFO_) lint Lint the source code) + $(info $(INFO_) nothing Do nothing; useful for debugging) + $(info $(INFO_) uninstall Uninstall everything (might leave traces)) + $(info ) + $(info $(INFO_)To see the full list of targets, run:) $(info $(INFO_) $$ make -R -p nothing \) $(info $(INFO_) | grep '^\.PHONY:' \) $(info $(INFO_) | tr ' ' '\n' \) -- 2.47.2