Merge branch 'hotfix/0.2.1'
This commit is contained in:
commit
f8ea3ebae2
3 changed files with 10 additions and 16 deletions
13
Makefile
13
Makefile
|
@ -1,5 +1,4 @@
|
||||||
AUTO_DETECTED_GIT_EXEC_PATH := $(shell git --exec-path 2>/dev/null || echo /usr/libexec/git-core)
|
prefix=/usr/local
|
||||||
GIT_EXEC_PATH=$(AUTO_DETECTED_GIT_EXEC_PATH)
|
|
||||||
|
|
||||||
# files that need mode 755
|
# files that need mode 755
|
||||||
EXEC_FILES=git-flow
|
EXEC_FILES=git-flow
|
||||||
|
@ -20,11 +19,11 @@ all:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@test -f gitflow-shFlags || (echo "Run 'git submodule init && git submodule update' first." ; exit 1 )
|
@test -f gitflow-shFlags || (echo "Run 'git submodule init && git submodule update' first." ; exit 1 )
|
||||||
install -d -m 0755 $(GIT_EXEC_PATH)
|
install -d -m 0755 $(prefix)/bin
|
||||||
install -m 0755 $(EXEC_FILES) $(GIT_EXEC_PATH)
|
install -m 0755 $(EXEC_FILES) $(prefix)/bin
|
||||||
install -m 0644 $(SCRIPT_FILES) $(GIT_EXEC_PATH)
|
install -m 0644 $(SCRIPT_FILES) $(prefix)/bin
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
test -d $(GIT_EXEC_PATH) && \
|
test -d $(prefix)/bin && \
|
||||||
cd $(GIT_EXEC_PATH) && \
|
cd $(prefix)/bin && \
|
||||||
rm -f $(EXEC_FILES) $(SCRIPT_FILES)
|
rm -f $(EXEC_FILES) $(SCRIPT_FILES)
|
||||||
|
|
11
README.mdown
11
README.mdown
|
@ -21,15 +21,10 @@ Then, you can install `git-flow`, using:
|
||||||
|
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
||||||
By default, this will look for the directory where Git is already installed,
|
By default, git-flow will be installed in /usr/local. To change the prefix
|
||||||
and install the git-flow extension alongside the other Git subcommands. If git
|
where git-flow will be installed, simply specify it explicitly, using:
|
||||||
is not on the system's `PATH`, it tries `/usr/libexec/git-core`. To explicitly
|
|
||||||
override this setting in case you have installed Git in another location, use:
|
|
||||||
|
|
||||||
$ sudo make GIT_EXEC_PATH=/your/custom/path install
|
$ sudo make prefix=/opt/local install
|
||||||
|
|
||||||
You rarely need to override this manually, the default 'make install' should do
|
|
||||||
fine.
|
|
||||||
|
|
||||||
Or simply point your `PATH` environment variable to your git-flow checkout
|
Or simply point your `PATH` environment variable to your git-flow checkout
|
||||||
directory.
|
directory.
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# Copyright (c) 2010 by Vincent Driessen
|
# Copyright (c) 2010 by Vincent Driessen
|
||||||
# Copyright (c) 2010 by Benedikt Böhm
|
# Copyright (c) 2010 by Benedikt Böhm
|
||||||
#
|
#
|
||||||
GITFLOW_VERSION=0.2
|
GITFLOW_VERSION=0.2.1
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: git flow version"
|
echo "usage: git flow version"
|
||||||
|
|
Loading…
Reference in a new issue