blob: 32468150939984f6ba827e89a81deead7fcfe832 [file] [log] [blame]
Vincent Driessendd720be2010-01-27 00:00:09 +01001GIT_EXEC_PATH=`git --exec-path 2>/dev/null || echo /usr/libexec/git-core`
Benedikt Böhma93a5352010-01-26 14:52:49 +01002
Vincent Driessenc7bbfcf2010-01-26 20:18:10 +01003all:
Vincent Driessene9d2d042010-02-01 16:03:07 +01004 @echo "usage: make install"
5 @echo " make uninstall"
Vincent Driessenc7bbfcf2010-01-26 20:18:10 +01006
Benedikt Böhma93a5352010-01-26 14:52:49 +01007install:
Vincent Driessene9d2d042010-02-01 16:03:07 +01008 # TODO: Add installation of shFlags to this file too
Vincent Driessen90960742010-01-26 23:26:57 +01009 install -d -m 0755 $(GIT_EXEC_PATH)
10 install -m 0755 git-flow $(GIT_EXEC_PATH)
11 install -m 0644 \
Benedikt Böhma93a5352010-01-26 14:52:49 +010012 git-flow-feature \
13 git-flow-hotfix \
14 git-flow-release \
15 git-flow-support \
Vincent Driessen90960742010-01-26 23:26:57 +010016 git-flow-version \
17 $(GIT_EXEC_PATH)
Benedikt Böhma93a5352010-01-26 14:52:49 +010018
Vincent Driessen67f781f2010-01-27 00:13:32 +010019uninstall:
20 test -d $(GIT_EXEC_PATH) && rm -f $(GIT_EXEC_PATH)/git-flow*