summaryrefslogtreecommitdiff
path: root/contrib/subtree
diff options
context:
space:
mode:
authorDavid A. Greene <greened@obbligato.org>2012-04-10 03:19:01 (GMT)
committerDavid A. Greene <greened@obbligato.org>2012-04-10 03:26:19 (GMT)
commit926b1ec63ee045503f609e88ca445b94c06bd5d7 (patch)
treee2c7f8a3ed9183b10adbe75364823d31cd114af1 /contrib/subtree
parent311391da90639e759974839d5c1f9d93fb03a09b (diff)
downloadgit-926b1ec63ee045503f609e88ca445b94c06bd5d7.zip
git-926b1ec63ee045503f609e88ca445b94c06bd5d7.tar.gz
git-926b1ec63ee045503f609e88ca445b94c06bd5d7.tar.bz2
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>
Diffstat (limited to 'contrib/subtree')
-rw-r--r--contrib/subtree/INSTALL30
1 files changed, 18 insertions, 12 deletions
diff --git a/contrib/subtree/INSTALL b/contrib/subtree/INSTALL
index 81ac702..7ab0cf4 100644
--- a/contrib/subtree/INSTALL
+++ b/contrib/subtree/INSTALL
@@ -1,22 +1,28 @@
-
HOW TO INSTALL git-subtree
==========================
-You simply need to copy the file 'git-subtree.sh' to where
-the rest of the git scripts are stored.
+First, build from the top source directory.
+
+Then, in contrib/subtree, run:
+
+ make
+ make install
+ make install-doc
-From the Git bash window just run:
+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:
-install.sh
+ make prefix=<some dir>
+ make prefix=<some dir> install
+ make prefix=<some dir> install-doc
-Or if you have the full Cygwin installed, you can use make:
+To run tests first copy git-subtree to the main build area so the
+newly-built git can find it:
-make install
+ cp git-subtree ../..
-That will make a 'git subtree' (note: space instead of dash) command
-available. See the file git-subtree.txt for more.
+Then:
-You can also install the man page by doing:
+ make test
- make doc
- cp git-subtree.1 /usr/share/man/man1/