diff --git a/.task.cfg.mk b/.task.cfg.mk index bee51bf..a169814 100644 --- a/.task.cfg.mk +++ b/.task.cfg.mk @@ -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) diff --git a/Makefile b/Makefile index 71944d0..e295f39 100644 --- a/Makefile +++ b/Makefile @@ -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