mirror of https://git.envs.net/envs/bashblog.git
add Makefile
This commit is contained in:
parent
8fd287cf7b
commit
c74fe45c80
|
@ -0,0 +1,14 @@
|
|||
BINDIR ?= /usr/local/bin
|
||||
|
||||
install:
|
||||
@echo Installing the executable to $(BINDIR)
|
||||
@mkdir -p $(BINDIR)
|
||||
@cp -f bb.sh $(BINDIR)/bb
|
||||
@chmod 755 $(BINDIR)/bb
|
||||
|
||||
uninstall:
|
||||
@echo Removing the executable from $(BINDIR)
|
||||
@rm -f $(BINDIR)/bb
|
||||
|
||||
.PHONY: install uninstall
|
||||
|
Loading…
Reference in New Issue