Skip to content

Makefile: Self-document help targets#314

Merged
peterj merged 1 commit intoagentregistry-dev:mainfrom
timflannagan:chore/make-help
Mar 11, 2026
Merged

Makefile: Self-document help targets#314
peterj merged 1 commit intoagentregistry-dev:mainfrom
timflannagan:chore/make-help

Conversation

@timflannagan
Copy link
Copy Markdown
Collaborator

Description

Teach make help to discover documented targets from the Makefile instead of maintaining a separate echoed list.

This keeps the output close to the implementation and avoids help text drift over time.

Fixes #313

Change Type

/kind cleanup

Changelog

NONE

Additional Notes

Teach make help to discover documented targets from the Makefile
instead of maintaining a separate echoed list.

This keeps the output close to the implementation and avoids
help text drift over time.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository Makefile so make help is generated from target annotations (## ...) rather than a manually maintained echo list, keeping help output aligned with actual targets.

Changes:

  • Set .DEFAULT_GOAL := help so running make defaults to showing help output.
  • Replace the hardcoded help echo list with a grep/awk-based extractor for ##-annotated targets.
  • Add ## descriptions to many existing targets so they appear in make help.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@peterj peterj added this pull request to the merge queue Mar 11, 2026
Merged via the queue into agentregistry-dev:main with commit eec7764 Mar 11, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor make help output

5 participants