has empty make_module rules
This commit is contained in:
@@ -10,7 +10,8 @@ install_submake_file = $(shell [ -f "$(module)/install.mk" ] && echo "$(module)/
|
|||||||
define make_module_rule =
|
define make_module_rule =
|
||||||
.PHONY: make_$(module)
|
.PHONY: make_$(module)
|
||||||
make_$(module): $(module)/.env
|
make_$(module): $(module)/.env
|
||||||
$(MAKE) --directory=$(module)
|
$(if $(install_submake_file),\
|
||||||
|
$(MAKE) --makefile=$(install_submake_file) --directory=$(module))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define module_env_rule =
|
define module_env_rule =
|
||||||
@@ -46,7 +47,7 @@ endef
|
|||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(ENV_RULES) $(MAKE_RULES) $(BUILD_RULES) $(PUSH_RULES)
|
all: $(ENV_RULES) $(MAKE_RULES) $(BUILD_RULES) $(PUSH_RULES)
|
||||||
|
|
||||||
$(foreach module,$(MAKE_MODULES),$(eval $(call make_module_rule)))
|
$(foreach module,$(MODULES),$(eval $(call make_module_rule)))
|
||||||
$(foreach module,$(MODULES),$(eval $(call module_env_rule)))
|
$(foreach module,$(MODULES),$(eval $(call module_env_rule)))
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
|
|||||||
Reference in New Issue
Block a user