Skip to content

Conversation

@fearphage
Copy link
Contributor

This is a pattern I use whenever I touch a Makefile. It turns the comments from each target into the make help as long as they are prefixed with a double hash (##). This allows regular comments to be ignored so you can effectively opt into the documentation process.

image

@bahamas10
Copy link
Owner

this is clever! the lines end up getting pretty long which i don't love but the output is super useful and i love the "opt-in" nature of it - merging! thank you

@bahamas10 bahamas10 merged commit 96e06e4 into bahamas10:main Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants