makeuser/Makefile

17 lines
358 B
Makefile

PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
install:
$(info installing the executable to $(BINDIR))
@mkdir -p $(BINDIR)
@install -m 755 makeuser $(BINDIR)
@install -m 644 welcome-email.tmpl $(BINDIR)
uninstall:
$(info removing the executable from $(BINDIR))
@rm -f $(BINDIR)/makeuser
@rm -f $(BINDIR)/welcome-email.tmpl
.PHONY: install uninstall