Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (18 sloc) 0.592 kb
dd720be @nvie Dynamically collect the true git exec path and only if that can not be f...
authored
1 GIT_EXEC_PATH=`git --exec-path 2>/dev/null || echo /usr/libexec/git-core`
a93a535 @hollow add simple make install target
hollow authored
2
c7bbfcf @nvie Deliberately add a Makefile target to prevent accidental installation of...
authored
3 all:
4 @echo "There is only one target here: install"
5 @echo "This message is deliberately inserted here to prevent accidental installation."
6 @echo ""
7 @echo "Use 'make install' explicitly to install git-flow."
8
a93a535 @hollow add simple make install target
hollow authored
9 install:
9096074 @nvie Make install arguments compatible with BSD install.
authored
10 install -d -m 0755 $(GIT_EXEC_PATH)
11 install -m 0755 git-flow $(GIT_EXEC_PATH)
12 install -m 0644 \
a93a535 @hollow add simple make install target
hollow authored
13 git-flow-feature \
14 git-flow-hotfix \
15 git-flow-release \
16 git-flow-support \
9096074 @nvie Make install arguments compatible with BSD install.
authored
17 git-flow-version \
18 $(GIT_EXEC_PATH)
a93a535 @hollow add simple make install target
hollow authored
19
67f781f @nvie Add 'uninstall' target, too.
authored
20 uninstall:
21 test -d $(GIT_EXEC_PATH) && rm -f $(GIT_EXEC_PATH)/git-flow*
Something went wrong with that request. Please try again.