2023-01-19 14:30:47 -06:00
|
|
|
define USAGE
|
|
|
|
{a.style('usage','header')}:\n make <recipe>\n
|
|
|
|
Turn your {a.style('`Makefile`','b_magenta')} into
|
|
|
|
the {a.italic}{a.underline}task runner{a.end} you always needed.
|
|
|
|
See the example output below.\n
|
|
|
|
endef
|
|
|
|
|
|
|
|
EPILOG = \nfor more info: gh.dayl.in/task.mk
|
|
|
|
PRINT_VARS := VERSION SHELL
|
2023-01-21 00:38:31 -06:00
|
|
|
PHONIFY = 1
|
2023-01-19 14:30:47 -06:00
|
|
|
|
2023-01-24 14:46:20 -06:00
|
|
|
-include .task.mk
|
|
|
|
.task.mk: $(TEMPLATES) generate.py
|
|
|
|
$(call msg,re-jinjaing the local {a.b_cyan}.task.mk{a.end})
|
|
|
|
@./generate.py $(VERSION) > .task.mk || (echo "generator failed!!" && rm .task.mk)
|