Skip to content

Commit f8ea3eb

Browse files
committed
Merge branch 'hotfix/0.2.1'
2 parents 097459c + e0b54c0 commit f8ea3eb

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

Makefile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
AUTO_DETECTED_GIT_EXEC_PATH := $(shell git --exec-path 2>/dev/null || echo /usr/libexec/git-core)
2-
GIT_EXEC_PATH=$(AUTO_DETECTED_GIT_EXEC_PATH)
1+
prefix=/usr/local
32

43
# files that need mode 755
54
EXEC_FILES=git-flow
@@ -20,11 +19,11 @@ all:
2019

2120
install:
2221
@test -f gitflow-shFlags || (echo "Run 'git submodule init && git submodule update' first." ; exit 1 )
23-
install -d -m 0755 $(GIT_EXEC_PATH)
24-
install -m 0755 $(EXEC_FILES) $(GIT_EXEC_PATH)
25-
install -m 0644 $(SCRIPT_FILES) $(GIT_EXEC_PATH)
22+
install -d -m 0755 $(prefix)/bin
23+
install -m 0755 $(EXEC_FILES) $(prefix)/bin
24+
install -m 0644 $(SCRIPT_FILES) $(prefix)/bin
2625

2726
uninstall:
28-
test -d $(GIT_EXEC_PATH) && \
29-
cd $(GIT_EXEC_PATH) && \
27+
test -d $(prefix)/bin && \
28+
cd $(prefix)/bin && \
3029
rm -f $(EXEC_FILES) $(SCRIPT_FILES)

README.mdown

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,10 @@ Then, you can install `git-flow`, using:
2121

2222
$ sudo make install
2323

24-
By default, this will look for the directory where Git is already installed,
25-
and install the git-flow extension alongside the other Git subcommands. If git
26-
is not on the system's `PATH`, it tries `/usr/libexec/git-core`. To explicitly
27-
override this setting in case you have installed Git in another location, use:
24+
By default, git-flow will be installed in /usr/local. To change the prefix
25+
where git-flow will be installed, simply specify it explicitly, using:
2826

29-
$ sudo make GIT_EXEC_PATH=/your/custom/path install
30-
31-
You rarely need to override this manually, the default 'make install' should do
32-
fine.
27+
$ sudo make prefix=/opt/local install
3328

3429
Or simply point your `PATH` environment variable to your git-flow checkout
3530
directory.

git-flow-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Copyright (c) 2010 by Vincent Driessen
1212
# Copyright (c) 2010 by Benedikt Böhm
1313
#
14-
GITFLOW_VERSION=0.2
14+
GITFLOW_VERSION=0.2.1
1515

1616
usage() {
1717
echo "usage: git flow version"

0 commit comments

Comments
 (0)