Update Makefile added znccreate.py

Updated MakeFile to account for installation of the znccreate.py
This commit is contained in:
deepend-tildeclub authored and GitHub committed 2021-12-28 15:20:47 -07:00
1 parent 19fa08b4cf
commit 9b5cee3366
1 file changed
+7 -3
+7 -3
View File
@@ -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