summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2010-05-28 23:19:47 +0100
committerdakkar <dakkar@thenautilus.net>2010-05-28 23:19:47 +0100
commitc31641c3f0fcbdf4a79e39389be9ac498a2e5221 (patch)
treef6cf18147f135b666414954efee1545c48e00724 /Makefile
parentadd a (prefix) to the prompt (diff)
parentWhitespace cleanup. (diff)
downloadgit-prompt-c31641c3f0fcbdf4a79e39389be9ac498a2e5221.tar.gz
git-prompt-c31641c3f0fcbdf4a79e39389be9ac498a2e5221.tar.bz2
git-prompt-c31641c3f0fcbdf4a79e39389be9ac498a2e5221.zip
Merge branch 'master' into dakkar
also, fix new features to work my way
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/