summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-01 18:37:44 +0100
committerJoe Carstairs <me@joeac.net>2026-07-01 18:37:44 +0100
commit5644789d642af0199d2c96d4425e0d062ce935ac (patch)
treea84855b8d26e8d4543d9f088e68f1d03f4e6743f /Makefile
parentc7c8a96a572dd04c3aff44284c4c46da04deaa37 (diff)
all rule builds stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 2da0faa..e366843 100644
--- a/Makefile
+++ b/Makefile
@@ -43,22 +43,14 @@ endef
# RULES #
#########
-.SILENT: usage
-.PHONY: usage
-usage:
- echo "usage:"
- echo " make install"
- $(foreach module,$(MODULES),echo " make install_$(module)")
- echo " make reinstall"
- $(foreach module,$(MODULES),echo " make reinstall_$(module)")
- echo " make uninstall"
- $(foreach module,$(MODULES),echo " make uninstall_$(module)")
+.PHONY: all
+all: $(ENV_RULES) $(MAKE_RULES) $(BUILD_RULES) $(PUSH_RULES)
$(foreach module,$(MAKE_MODULES),$(eval $(call make_module_rule)))
$(foreach module,$(MODULES),$(eval $(call module_env_rule)))
.PHONY: install
-install: $(foreach module,$(MODULES),install_$(module)) install_crontab
+install: $(foreach module,$(MODULES),$(module)/.env install_$(module)) install_crontab
.PHONY: uninstall
uninstall: uninstall_nginx uninstall_dyndns uninstall_joeac.net_service $(foreach module,$(MODULES),uninstall_$(module)) uninstall_crontab