Skip to content
This repository
Newer
Older
100644 58 lines (52 sloc) 2.299 kb
d72acbaf »
2010-04-04 Added inline license terms to all source files.
1 #
2 # Copyright 2010 Vincent Driessen. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are met:
6 #
7 # 1. Redistributions of source code must retain the above copyright notice,
8 # this list of conditions and the following disclaimer.
9 #
10 # 2. Redistributions in binary form must reproduce the above copyright
11 # notice, this list of conditions and the following disclaimer in the
12 # documentation and/or other materials provided with the distribution.
13 #
14 # THIS SOFTWARE IS PROVIDED BY VINCENT DRIESSEN ``AS IS'' AND ANY EXPRESS OR
15 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
16 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
17 # EVENT SHALL VINCENT DRIESSEN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
18 # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
19 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 # OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
22 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
23 # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 #
25 # The views and conclusions contained in the software and documentation are
26 # those of the authors and should not be interpreted as representing official
27 # policies, either expressed or implied, of Vincent Driessen.
28 #
e0b54c07 »
2010-03-19 Strip the GIT_EXEC_PATH Makefile parameter. Replaced it by the more U…
29 prefix=/usr/local
a93a5358 »
2010-01-26 add simple make install target
30
c3b7db9d »
2010-02-02 Added a nicer way of installing/uninstalling git-flow.
31 # files that need mode 755
32 EXEC_FILES=git-flow
33
34 # files that need mode 644
c7ea9b22 »
2010-02-04 Fix: add init to Makefile.
35 SCRIPT_FILES =git-flow-init
36 SCRIPT_FILES+=git-flow-feature
c3b7db9d »
2010-02-02 Added a nicer way of installing/uninstalling git-flow.
37 SCRIPT_FILES+=git-flow-hotfix
38 SCRIPT_FILES+=git-flow-release
39 SCRIPT_FILES+=git-flow-support
40 SCRIPT_FILES+=git-flow-version
c3607ac2 »
2010-02-05 Put all common functions into separate file gitflow-common.
41 SCRIPT_FILES+=gitflow-common
42 SCRIPT_FILES+=gitflow-shFlags
c3b7db9d »
2010-02-02 Added a nicer way of installing/uninstalling git-flow.
43
c7bbfcf4 »
2010-01-26 Deliberately add a Makefile target to prevent accidental installation…
44 all:
e9d2d04e »
2010-02-01 Add TODO item for adding installation of shFlags, too.
45 @echo "usage: make install"
46 @echo " make uninstall"
c7bbfcf4 »
2010-01-26 Deliberately add a Makefile target to prevent accidental installation…
47
a93a5358 »
2010-01-26 add simple make install target
48 install:
13c94821 »
2010-02-15 Added instructions to first fetch submodules before installing.
49 @test -f gitflow-shFlags || (echo "Run 'git submodule init && git submodule update' first." ; exit 1 )
e0b54c07 »
2010-03-19 Strip the GIT_EXEC_PATH Makefile parameter. Replaced it by the more U…
50 install -d -m 0755 $(prefix)/bin
51 install -m 0755 $(EXEC_FILES) $(prefix)/bin
52 install -m 0644 $(SCRIPT_FILES) $(prefix)/bin
a93a5358 »
2010-01-26 add simple make install target
53
67f781fa »
2010-01-27 Add 'uninstall' target, too.
54 uninstall:
e0b54c07 »
2010-03-19 Strip the GIT_EXEC_PATH Makefile parameter. Replaced it by the more U…
55 test -d $(prefix)/bin && \
56 cd $(prefix)/bin && \
c3b7db9d »
2010-02-02 Added a nicer way of installing/uninstalling git-flow.
57 rm -f $(EXEC_FILES) $(SCRIPT_FILES)
Something went wrong with that request. Please try again.