Update makefile to not overwrite config everytime

This commit is contained in:
deepend-tildeclub 2021-12-28 23:52:19 -07:00 committed by GitHub
parent 97702de19e
commit 10654f9ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -8,12 +8,15 @@ install:
@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
@install -m 600 znc-config-ex.json $(ZNCCONF)
@echo Remember to edit znc-config with your ZNC details and rename $(ZNCCONF)/znc-config-ex.json to $(ZNCCONF)/znc-config.json
@echo ENJOY
uninstall:
@echo removing the executables from $(BINDIR)
@rm -f $(BINDIR)/makeuser
@rm -f $(BINDIR)/welcome-email.tmpl
@rm -f $(BINDIR)/znccreate.py
@echo znc-config.json has not been touched. You will need to manually remove it from $(ZNCCONF)
.PHONY: install uninstall