update makefile

pull/1/head
Ben Harris 3 years ago
parent fe28b26923
commit 07303cf5e3
  1. 11
      Makefile

@ -1,13 +1,12 @@
BINDIR ?= /usr/local/bin
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
install:
@echo Installing the executable to $(BINDIR)
@mkdir -p $(BINDIR)
@cp -f bb.sh $(BINDIR)/bb
@chmod 755 $(BINDIR)/bb
$(info Installing the executable to $(BINDIR))
@install -Dm755 bb.sh $(BINDIR)/bb
uninstall:
@echo Removing the executable from $(BINDIR)
$(info Removing the executable from $(BINDIR))
@rm -f $(BINDIR)/bb
.PHONY: install uninstall

Loading…
Cancel
Save