Skip to content

Commit

Permalink
tiny install makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
geyslan committed Nov 22, 2014
1 parent ff6eb65 commit 1f8e5ac
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PROJECT := xrasengan
BIN := /usr/bin
COMPLETE:= $(PROJECT)_complete
COMPPATH:= /usr/share/bash-completion/completions

.PHONY: install

install:
@echo \* Installing
sudo cp $(PROJECT) $(BIN)
sudo chmod 755 $(BIN)/$(PROJECT)
sudo cp $(COMPLETE) $(COMPPATH)/$(PROJECT)
sudo chmod 644 $(COMPPATH)/$(PROJECT)
@echo \* Done
@echo \* For help: xrasengan --help

uninstall:
@echo \* Uninstalling
sudo rm $(BIN)/$(PROJECT)
sudo rm $(COMPPATH)/$(PROJECT)
@echo \* Done

0 comments on commit 1f8e5ac

Please sign in to comment.