From 9b5cee33662a835be7ed3ef1e26c0f293fafc732 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Tue, 28 Dec 2021 15:20:47 -0700 Subject: [PATCH] Update Makefile added znccreate.py Updated MakeFile to account for installation of the znccreate.py --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b039dd7..43c0dcd 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,19 @@ BINDIR ?= /usr/local/bin +ZNCCONF ?= /root/.znc-conf install: @echo installing the executable to $(BINDIR) @mkdir -p $(BINDIR) + @mkdir -p $(ZNCCONF) @install -m 755 makeuser $(BINDIR) @install -m 644 welcome-email.tmpl $(BINDIR) - + @install -m 700 znccreate.py $(BINDIR) + @install -m 600 znc-config-ex.json $(ZNCCONF)/znc-config.json + uninstall: - @echo removing the executable from $(BINDIR) + @echo removing the executables from $(BINDIR) @rm -f $(BINDIR)/makeuser @rm -f $(BINDIR)/welcome-email.tmpl - + @rm -f $(BINDIR)/znccreate.py .PHONY: install uninstall