summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2010-03-17 22:09:07 +0200
committerLeonid Volnitsky <Leonid@Volnitsky.com>2010-03-17 22:51:47 +0200
commitfad9f4f28a90cb744d6d76b3e2e4019572711ee4 (patch)
treefa65e59ec3f557401cf40e4fc3de58cc2f32ff79 /Makefile
parentgit autocompletion (diff)
downloadgit-prompt-fad9f4f28a90cb744d6d76b3e2e4019572711ee4.tar.gz
git-prompt-fad9f4f28a90cb744d6d76b3e2e4019572711ee4.tar.bz2
git-prompt-fad9f4f28a90cb744d6d76b3e2e4019572711ee4.zip
-- completion docs/cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5fb2098..27631ce 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,16 @@
-HOMEDIR ?= /home/lvv/p/volnitsky.com/
-include $(HOMEDIR)/include.mk
+ifeq ($(USER),lvv)
+ HOMEDIR := /home/lvv/p/volnitsky.com/
+ INCLUDE := $(HOMEDIR)/include.mk
+else
+ INCLUDE := /dev/null
+endif
+
+include $(INCLUDE)
+
+
COPY_LIST = git-prompt.sh
+
install:
cp -v git-prompt.sh /etc/
[ -f /etc/git-prompt.conf ] || cp -v git-prompt.conf /etc/