planktoscope/Makefile

24 lines
563 B
Makefile
Raw Normal View History

##@ General
help: ## Display this help.
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
##@ Documentation
docs-build: ## Build the MkDocs documentation
@mkdocs build
docs-serve: ## Run mkdocs builtin development server
@mkdocs serve
##@ Lint
lint-markdown: ## Run markdown linter on all files
@mdl .
lint-reuse: ## Run reuse linter on all files
@reuse lint
%:
@true