tidy up and add makefile

This commit is contained in:
Ben Harris committed 2019-06-28 11:18:20 -04:00
1 parent 40cfd05eed
commit 4633ee9dd3
3 files changed
+42 -17

No files matched your search

+16
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