Update makefile to not overwrite config everytime
This commit is contained in:
parent
97702de19e
commit
10654f9ebe
5
Makefile
5
Makefile
|
@ -8,12 +8,15 @@ install:
|
||||||
@install -m 755 makeuser $(BINDIR)
|
@install -m 755 makeuser $(BINDIR)
|
||||||
@install -m 644 welcome-email.tmpl $(BINDIR)
|
@install -m 644 welcome-email.tmpl $(BINDIR)
|
||||||
@install -m 700 znccreate.py $(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:
|
uninstall:
|
||||||
@echo removing the executables from $(BINDIR)
|
@echo removing the executables from $(BINDIR)
|
||||||
@rm -f $(BINDIR)/makeuser
|
@rm -f $(BINDIR)/makeuser
|
||||||
@rm -f $(BINDIR)/welcome-email.tmpl
|
@rm -f $(BINDIR)/welcome-email.tmpl
|
||||||
@rm -f $(BINDIR)/znccreate.py
|
@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
|
.PHONY: install uninstall
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue