Horje
self-documenting makefile Code Example
self-documenting makefile
.PHONY: help

help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

# All rules with double-hash comments will be automatically displayed in the make help rule
newrule: ## This is what will show up for this rule's help
	echo Hello World
Source: marmelab.com
self documenting makefile
.PHONY: help

help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
Source: marmelab.com




Shell

Related
Unable to locate package brave-browser ubuntu 20 Code Example Unable to locate package brave-browser ubuntu 20 Code Example
du -sh ocult files Code Example du -sh ocult files Code Example
brave on linux Code Example brave on linux Code Example
ubuntu server virtualbox check if guest additions installed Code Example ubuntu server virtualbox check if guest additions installed Code Example
raspberry config command line Code Example raspberry config command line Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13