Skip to content

Commit

Permalink
make install directory configurable in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
huy committed Feb 19, 2011
1 parent 8a57d1f commit 68eae4f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
@@ -1,6 +1,11 @@
INSTALL_DIR=~/.local/bin

all:
@echo "Pleas run 'make install'"

install:
cp bashmarks.sh ~/bin/
@echo "Add 'source ~/bin/bashmarks.sh' to your .bashrc file"
@echo ""
mkdir -p $(INSTALL_DIR)
cp bashmarks.sh $(INSTALL_DIR)
@echo ""
@echo "Please add 'source $(INSTALL_DIR)/bashmarks.sh' to your .bashrc file"

0 comments on commit 68eae4f

Please sign in to comment.