mirror of
https://github.com/tildeclub/makeuser.git
synced 2026-01-24 11:00:18 +00:00
tidy up and add makefile
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user