Update Makefile added znccreate.py

Updated MakeFile to account for installation of the znccreate.py
This commit is contained in:
deepend-tildeclub 2021-12-28 15:20:47 -07:00 committed by GitHub
parent 19fa08b4cf
commit 9b5cee3366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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