Skip to content

Instantly share code, notes, and snippets.

@RandyMcMillan
Last active May 20, 2022 14:42
Show Gist options
  • Save RandyMcMillan/426811b6c26bf03fc49d5f0bd835252c to your computer and use it in GitHub Desktop.
Save RandyMcMillan/426811b6c26bf03fc49d5f0bd835252c to your computer and use it in GitHub Desktop.
make-help
.PHONY: - help
-: help
##help:print help
##test
## test
## test
## test
## test
##test:test
## test:test
## test:test
## test:test
## test:test
##test: test
## test: test
## test: test
## test: test
## test: test
help:
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^//'
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment