specify full path to template

This commit is contained in:
Ben Harris
2019-07-03 15:55:14 -04:00
parent 4633ee9dd3
commit 27bc0aff7a
2 changed files with 4 additions and 5 deletions

View File

@@ -1,14 +1,13 @@
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
BINDIR ?= /usr/local/bin
install:
@echo Installing the executable to $(BINDIR)
@echo 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)
@echo removing the executable from $(BINDIR)
@rm -f $(BINDIR)/makeuser
@rm -f $(BINDIR)/welcome-email.tmpl