From ba2d4b7774f1e7b7ac967145700b099aa920d317 Mon Sep 17 00:00:00 2001 From: Paul Mars Date: Wed, 4 Dec 2024 14:12:58 +0100 Subject: [PATCH] build(tools): use a single name for targets When 2 targets are define on the same line in the Makefile, the `make help` command does not properly parse the line and display the ##- prefix. Limit ourselves to a single name per target to keep the help generation fairly simple. Signed-off-by: Paul Mars --- common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 4e6b0a9..9c9ea09 100644 --- a/common.mk +++ b/common.mk @@ -118,7 +118,7 @@ lint-docs: ##- Lint the documentation uv run --extra docs sphinx-lint --max-line-length 88 --enable all $(DOCS) .PHONY: lint-twine -lint-twine: dist/* ##- Lint Python packages with twine +lint-twine: pack-pip ##- Lint Python packages with twine uv tool run twine check dist/* .PHONY: test @@ -149,7 +149,7 @@ docs-auto: ## Build and host docs with sphinx-autobuild uv run --extra docs sphinx-autobuild -b html --open-browser --port=8080 --watch $(PROJECT) -W $(DOCS) $(DOCS)/_build .PHONY: pack-pip -pack-pip dist/*: ##- Build packages for pip (sdist, wheel) +pack-pip: ##- Build packages for pip (sdist, wheel) uv build . # Below are intermediate targets for setup. They are not included in help as they should