mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-21 09:40:43 -06:00
build: use .task.cfg.mk for cleaner make file
This commit is contained in:
parent
535118d27a
commit
e85d61c6e1
2 changed files with 5 additions and 4 deletions
|
@ -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)
|
||||
|
|
5
Makefile
5
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
|
||||
|
|
Loading…
Reference in a new issue