fix: don't use include inside .task.mk

This commit is contained in:
Daylin Morgan 2023-01-19 19:50:38 -06:00
parent fd96a454e8
commit d0290aec94
3 changed files with 2 additions and 4 deletions

View File

@ -69,7 +69,7 @@ info: ## demonstrate usage of tprint
task.mk: $(TEMPLATES) generate.py
./generate.py $(VERSION) > task.mk
-include .task.mk
-include .task.mk .task.cfg.mk
.task.mk: $(TEMPLATES) generate.py
$(call msg,re-jinjaing the local .task.mk)
@./generate.py $(VERSION) > .task.mk || (echo "generator failed!!" && rm .task.mk)

View File

@ -1,5 +1,4 @@
# ---- [config] ---- #
-include .task.cfg.mk
HEADER_STYLE ?= b_cyan
ACCENT_STYLE ?= b_yellow
PARAMS_STYLE ?= $(ACCENT_STYLE)

View File

@ -1,13 +1,12 @@
# }> [github.com/daylinmorgan/task.mk] <{ #
# Copyright (c) 2022 Daylin Morgan
# MIT License
# version: v22.9.28-12-g3244dbadev
# version: v22.9.28-13-gfd96a45dev
#
# task.mk should be included at the bottom of your Makefile with `-include .task.mk`
# See below for the standard configuration options that should be set prior to including this file.
# You can update your .task.mk with `make _update-task.mk`
# ---- [config] ---- #
-include .task.cfg.mk
HEADER_STYLE ?= b_cyan
ACCENT_STYLE ?= b_yellow
PARAMS_STYLE ?= $(ACCENT_STYLE)