92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
fossil uv sync
# Self-documenting makefile (http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html)
help: ## Displays this help screen
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
article: ## Start a new article from a template
racket util/newpost.rkt
.PHONY: all scribble help spritz article publish check-env
.DEFAULT_GOAL := help
check-env:
ifndef LOCALYARN_SRV
$(error LOCALYARN_SRV env variable not set, should be a destination valid for rsync)
endif
ifndef WEB_SRV_PORT
$(error WEB_SRV_PORT env variable not set, should be SSH port number for web server)
endif
|
|
|
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
fossil uv sync
# Self-documenting makefile (http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html)
help: ## Displays this help screen
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
article: ## Start a new article from a template
racket -tm util/newpost.rkt
.PHONY: all scribble help spritz article publish check-env
.DEFAULT_GOAL := help
check-env:
ifndef LOCALYARN_SRV
$(error LOCALYARN_SRV env variable not set, should be a destination valid for rsync)
endif
ifndef WEB_SRV_PORT
$(error WEB_SRV_PORT env variable not set, should be SSH port number for web server)
endif
|