Fix git-subtree install instructions

Update the install instructions to reflect the changes for an integrated git-subtree. Signed-off-by: David A. Greene <greened@obbligato.org>

David A. Greene committed Apr 9, 2012 at 22:19 UTC 926b1ec63ee045503f609e88ca445b94c06bd5d7
1 file changed +18 -12
contrib/subtree/INSTALL
+18 -12
@@ -1,22 +1,28 @@
1 -
1 HOW TO INSTALL git-subtree
2 ==========================
3
5 -You simply need to copy the file 'git-subtree.sh' to where
6 -the rest of the git scripts are stored.
4 +First, build from the top source directory.
5 +
6 +Then, in contrib/subtree, run:
7 +
8 + make
9 + make install
10 + make install-doc
11
8 -From the Git bash window just run:
12 +If you used configure to do the main build the git-subtree build will
13 +pick up those settings. If not, you will likely have to provide a
14 +value for prefix:
15
10 -install.sh
16 + make prefix=<some dir>
17 + make prefix=<some dir> install
18 + make prefix=<some dir> install-doc
19
12 -Or if you have the full Cygwin installed, you can use make:
20 +To run tests first copy git-subtree to the main build area so the
21 +newly-built git can find it:
22
14 -make install
23 + cp git-subtree ../..
24
16 -That will make a 'git subtree' (note: space instead of dash) command
17 -available. See the file git-subtree.txt for more.
25 +Then:
26
19 -You can also install the man page by doing:
27 + make test
28
21 - make doc
22 - cp git-subtree.1 /usr/share/man/man1/