summaryrefslogtreecommitdiff
path: root/contrib/subtree/INSTALL
blob: 7ab0cf450967fedbe590a25528a6600d412d7835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
HOW TO INSTALL git-subtree
==========================

First, build from the top source directory.

Then, in contrib/subtree, run:

  make
  make install
  make install-doc

If you used configure to do the main build the git-subtree build will
pick up those settings.  If not, you will likely have to provide a
value for prefix:

  make prefix=<some dir>
  make prefix=<some dir> install
  make prefix=<some dir> install-doc

To run tests first copy git-subtree to the main build area so the
newly-built git can find it:

  cp git-subtree ../..

Then:

  make test