summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-01 18:11:08 +0100
committerJoe Carstairs <me@joeac.net>2026-07-01 18:11:08 +0100
commitc0e6d13a1f3e47aba9d65f605ffeb8365abfda36 (patch)
tree179bcd0ea1791f3c85955ac1cf87ac3346c28925 /Makefile
parent2b00e0399973178ec06b5e43673c0345a6a2895a (diff)
moves stuff to nginx.mk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 3a14e68..f9eeeb1 100644
--- a/Makefile
+++ b/Makefile
@@ -50,12 +50,7 @@ endef
define uninstall_module_rule =
.PHONY: uninstall_$(module)
-uninstall_$(module): uninstall_openrc_$(module)
- $(if $(SUBDOMAIN_$(module)),\
- sudo rm -f /etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf; \
- $(RESTART_NGINX); \
- sudo rm -f /etc/periodic/daily/dyndns-$(SUBDOMAIN_$(module)).joeac.net; \
- )
+uninstall_$(module): uninstall_openrc_$(module) uninstall_nginx_$(module) uninstall_dyndns_module_$(module)
$(if $(install_submake_file),\
$(MAKE) --makefile=$(notdir (install_submake_file)) --directory $(dir $(install_submake_file)) uninstall
)