build: use .task.cfg.mk for cleaner make file

This commit is contained in:
Daylin Morgan 2023-01-24 14:46:20 -06:00
parent 535118d27a
commit e85d61c6e1
2 changed files with 5 additions and 4 deletions

View file

@ -9,3 +9,7 @@ EPILOG = \nfor more info: gh.dayl.in/task.mk
PRINT_VARS := VERSION SHELL
PHONIFY = 1
-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)

View file

@ -64,7 +64,4 @@ info: ## demonstrate usage of tprint
task.mk: $(TEMPLATES) generate.py
./generate.py $(VERSION) > task.mk
-include .task.cfg.dev.mk .task.cfg.mk .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)
-include .task.cfg.dev.mk .task.cfg.mk