tidy up and add makefile

This commit is contained in:
Ben Harris
2019-06-28 11:18:20 -04:00
parent 40cfd05eed
commit 4633ee9dd3
3 changed files with 42 additions and 17 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
install:
@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)
@rm -f $(BINDIR)/makeuser
@rm -f $(BINDIR)/welcome-email.tmpl
.PHONY: install uninstall