Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (23 sloc) 0.708 kB
dd720be @nvie Dynamically collect the true git exec path and only if that can not b…
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
c3b7db9 @nvie Added a nicer way of installing/uninstalling git-flow.
authored
3 # files that need mode 755
4 EXEC_FILES=git-flow
5
6 # files that need mode 644
c7ea9b2 @nvie Fix: add init to Makefile.
authored
7 SCRIPT_FILES =git-flow-init
8 SCRIPT_FILES+=git-flow-feature
c3b7db9 @nvie Added a nicer way of installing/uninstalling git-flow.
authored
9 SCRIPT_FILES+=git-flow-hotfix
10 SCRIPT_FILES+=git-flow-release
11 SCRIPT_FILES+=git-flow-support
12 SCRIPT_FILES+=git-flow-version
c3607ac @nvie Put all common functions into separate file gitflow-common.
authored
13 SCRIPT_FILES+=gitflow-common
14 SCRIPT_FILES+=gitflow-shFlags
c3b7db9 @nvie Added a nicer way of installing/uninstalling git-flow.
authored
15
c7bbfcf @nvie Deliberately add a Makefile target to prevent accidental installation…
authored
16 all:
e9d2d04 @nvie Add TODO item for adding installation of shFlags, too.
authored
17 @echo "usage: make install"
18 @echo " make uninstall"
c7bbfcf @nvie Deliberately add a Makefile target to prevent accidental installation…
authored
19
a93a535 @hollow add simple make install target
hollow authored
20 install:
9096074 @nvie Make install arguments compatible with BSD install.
authored
21 install -d -m 0755 $(GIT_EXEC_PATH)
c3b7db9 @nvie Added a nicer way of installing/uninstalling git-flow.
authored
22 install -m 0755 $(EXEC_FILES) $(GIT_EXEC_PATH)
23 install -m 0644 $(SCRIPT_FILES) $(GIT_EXEC_PATH)
a93a535 @hollow add simple make install target
hollow authored
24
67f781f @nvie Add 'uninstall' target, too.
authored
25 uninstall:
c3b7db9 @nvie Added a nicer way of installing/uninstalling git-flow.
authored
26 test -d $(GIT_EXEC_PATH) && \
27 cd $(GIT_EXEC_PATH) && \
28 rm -f $(EXEC_FILES) $(SCRIPT_FILES)
Something went wrong with that request. Please try again.