fakerr.git-recall/Makefile
2017-06-16 15:04:28 +02:00

20 lines
308 B
Makefile

PREFIX ?= /usr/local
BINPREFIX ?= "$(PREFIX)/bin"
LIB=git-recall
.PHONY: all install uninstall
all:
@echo "usage: make install"
@echo " make uninstall"
install:
mkdir -p $(BINPREFIX)
install -m 0755 $(LIB) $(BINPREFIX)
uninstall:
test -d $(BINPREFIX) && \
cd $(BINPREFIX) && \
rm -f $(LIB)