summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-02 08:10:25 +0100
committerJoe Carstairs <me@joeac.net>2026-07-02 08:10:25 +0100
commit8a5ad04776a8521cec7f46dff723341ed1c8eddb (patch)
tree081f22b944269f6895ace0598503af0700349c59
parent6a726a331da8e3265c70e3d0401432c8c7271e62 (diff)
adds reinstall rule
-rw-r--r--Makefile3
-rw-r--r--make/vars.mk1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8334163..1f6c803 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,9 @@ $(foreach module,$(MODULES),$(eval $(call module_env_rule)))
.PHONY: install
install: install_nginx $(ENV_RULES) $(INSTALL_RULES) install_crontab
+.PHONY: reinstall
+reinstall: reinstall_nginx $(ENV_RULES) $(REINSTALL_RULES) reinstall_crontab
+
.PHONY: uninstall
uninstall: uninstall_nginx uninstall_dyndns uninstall_joeac.net_service $(UNINSTALL_RULES) uninstall_crontab
diff --git a/make/vars.mk b/make/vars.mk
index a56895b..72252ae 100644
--- a/make/vars.mk
+++ b/make/vars.mk
@@ -17,6 +17,7 @@ MAKE_RULES := $(foreach module,$(MAKE_MODULES),make_$(module))
BUILD_RULES := $(foreach module,$(filter $(COMPOSE_SERVICES),$(MODULES)),build_$(module))
PUSH_RULES := $(foreach module,$(filter $(COMPOSE_SERVICES),$(MODULES)),push_$(module))
INSTALL_RULES := $(foreach module,$(MODULES),install_$(module))
+REINSTALL_RULES := $(foreach module,$(MODULES),reinstall_$(module))
UNINSTALL_RULES := $(foreach module,$(MODULES),uninstall_$(module))
SUBDOMAIN_http := @
SUBDOMAIN_vaultwarden := pwd