forked from team/makeuser
fix permission error
This commit is contained in:
parent
7bbf6b6759
commit
71c4e92fd4
7
Makefile
7
Makefile
|
@ -1,13 +1,14 @@
|
|||
BINDIR ?= /usr/local/bin
|
||||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
|
||||
install:
|
||||
@echo installing the executable to $(BINDIR)
|
||||
$(info installing the executable to $(BINDIR))
|
||||
@mkdir -p $(BINDIR)
|
||||
@install -m 755 makeuser $(BINDIR)
|
||||
@install -m 644 welcome-email.tmpl $(BINDIR)
|
||||
|
||||
uninstall:
|
||||
@echo removing the executable from $(BINDIR)
|
||||
$(info removing the executable from $(BINDIR))
|
||||
@rm -f $(BINDIR)/makeuser
|
||||
@rm -f $(BINDIR)/welcome-email.tmpl
|
||||
|
||||
|
|
Loading…
Reference in New Issue