summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-02 22:24:07 +0100
committerJoe Carstairs <me@joeac.net>2026-07-02 22:24:07 +0100
commitde19519be0299e5cde667945e924f7aaecd43e6e (patch)
treea61fca6498d1225a02376a2c5cd0b461fde5a518
parent3d87e928d47f14081f9660ff554f52524c0fd619 (diff)
makes module rules for all modules, not just ones to be installed here
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 29d7d49..974b72a 100644
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,8 @@ endef
.PHONY: all
all: $(ENV_RULES) $(MAKE_RULES) $(BUILD_RULES) $(PUSH_RULES)
-$(foreach module,$(MODULES),$(eval $(call make_module_rule)))
-$(foreach module,$(MODULES),$(eval $(call module_env_rule)))
+$(foreach module,$(ALL_MODULES),$(eval $(call make_module_rule)))
+$(foreach module,$(ALL_MODULES),$(eval $(call module_env_rule)))
.PHONY: install
install: install_nginx $(ENV_RULES) $(INSTALL_RULES) install_crontab
@@ -50,9 +50,9 @@ reinstall: reinstall_nginx reinstall_dyndns $(ENV_RULES) $(REINSTALL_RULES) rein
.PHONY: uninstall
uninstall: uninstall_nginx uninstall_dyndns uninstall_joeac.net_service $(UNINSTALL_RULES) uninstall_crontab
-$(foreach module,$(MODULES),$(eval $(install_module_rule)))
-$(foreach module,$(MODULES),$(eval $(reinstall_module_rule)))
-$(foreach module,$(MODULES),$(eval $(uninstall_module_rule)))
+$(foreach module,$(ALL_MODULES),$(eval $(install_module_rule)))
+$(foreach module,$(ALL_MODULES),$(eval $(reinstall_module_rule)))
+$(foreach module,$(ALL_MODULES),$(eval $(uninstall_module_rule)))
.PHONY: clean
clean: